Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

PYTHON 3.6 Version- I need my output to look like this (shown below). I\'ve prov

ID: 3590753 • Letter: P

Question

PYTHON 3.6 Version- I need my output to look like this (shown below). I've provided my output and I need it in the format shown in the first pic. Please provide source code and screenshot of source code and screenshot of output. Thanks.

However' I got this:

Here's the source code:

Output-ScreenShot k@ashok-Aspire-E1-571G: /Desktop/Chegg ashok@ashok-Aspire-E1-571G:~/Desktop/Chegg$ python -version Python 2.7.6 ashok@ashok-Aspire-E1-571G:~/Desktop/Cheggs python numop.py The first number is: 739 The second number is: 212 739 x 212 156668 3 R 103 212) 739 ashok@ashok-Aspire-E1-571G:~/Desktop/Cheggs cat results.txt 739 tines 212 is 156668, and 739 divided by 212 is 3 remainder 103 ashok@ashok-Aspire-E1-571G:-/Desktop/Cheggs python numop.py The first number is: 999 The second number is: 999 x 999 998001 999) 999 ashok@ashok-Aspire-E1-571G:-/Desktop/Cheggs cat results.txt 999 tines 999 is 998001, and 999 divided by 999 is 1 remainder ashok@ashok-Aspire-E1-571G:-/Desktop/Cheggs Comment

Explanation / Answer

hello

you need to change this line (i think line no 32)

from

qustr = str(quotient)

to

qustr = str(int(quotient))

i hope it helps