Question: Write a program using integers userNum and x as input, and output userNum divided by x four times. main.py userNum = int ( input (
Write a program using integers userNum and x as input, and output userNum divided by x four times. main.py
userNum intinput
x intinput
currentnum userNum
for in range:
currentnum x
printcurrentnum,end
print:Compare output
Output is nearly correct, but whitespace differs. See highlights below.
Special character legend
Your output
Expected output
Ex: If the input is:
Then the output is:
userkur intinputO
x intinput
currentnum userkim
for in range:
currentnur x
printcurrentrur, end
print
When dane developing your program, press the Submit for grading button below. This will
subomit your program for autograding.
Latest submission : AM EDT on
Only show failing tests
Download this submission
:Compare output
Output is nearly correct, but whitespace differs. See highlights below.
Special chanacter legend
Expected output
What am i doing wrong? It says i have a space? Please help!
Thank you!!
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
