Welcome to AssignmentCache!

ITS320 Module 1 Option 2 Create a Python Application that read two integers and print two lines

Availability: In stock

$10.00

Quick Overview

ITS320 Module 1 Option 2 Create a Python Application that read two integers and print two lines


Option #2: Create a Python Application
Read two integers and print two lines. The first line should contain integer division, //, the second line should contain float division, /, and the third line should contain modulo division, %. You do not need to perform any rounding or formatting operations.
Input Format The first line contains the first integer. The second line contains the second integer.
Output Format Print the three lines as described above.


Sample Input
4
3


Sample Output
1
1.3333333333333333
1


Assignment Instructions
1. Install Python3 on your computer if you don’t have it already installed. Make sure you check the box to include the Python executable in your environment path.
2. Edit your Python program using your choice of editor such as Notepad, Notepad++, or Idle. Idle is a simple Python interactive development environment that installed with your Python package.
3. Save your Python code in a file name ITS320_CTA1_Option2.py.
4. Execute your Python code in command prompt as python ITS320_CTA1_Option2.


Assignment Deliverables
Submit the text file named ITS320_CTA1_Option2.py that contains your Python code into the Module 1 drop box.

ITS320 Module 1 Option 2 Create a Python Application that read two integers and print two lines

Double click on above image to view full picture

Zoom Out
Zoom In

More Views

  • ITS320 Module 1 Option 2 Create a Python Application that read two integers and print two lines
$10.00

Details

ITS320 Module 1 Option 2 Create a Python Application that read two integers and print two lines

Option #2: Create a Python Application
Read two integers and print two lines. The first line should contain integer division, //, the second line should contain float division, /, and the third line should contain modulo division, %. You do not need to perform any rounding or formatting operations.
Input Format The first line contains the first integer. The second line contains the second integer.
Output Format Print the three lines as described above.

Sample Input
4
3

Sample Output
1
1.3333333333333333
1

Assignment Instructions
1. Install Python3 on your computer if you don’t have it already installed. Make sure you check the box to include the Python executable in your environment path.
2. Edit your Python program using your choice of editor such as Notepad, Notepad++, or Idle. Idle is a simple Python interactive development environment that installed with your Python package.
3. Save your Python code in a file name ITS320_CTA1_Option2.py.
4. Execute your Python code in command prompt as python ITS320_CTA1_Option2.

Assignment Deliverables
Submit the text file named ITS320_CTA1_Option2.py that contains your Python code into the Module 1 drop box.

Additional Information

Special Price $8.00

Product Tags

Use spaces to separate tags. Use single quotes (') for phrases.

[profiler]
Memory usage: real: 18350080, emalloc: 17907704
Code ProfilerTimeCntEmallocRealMem