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 = int(input())
x = int(input())
current_num = userNum
for _ in range(4):
current_num//= x
print(current_num,end='')
print()1:Compare output
Output is nearly correct, but whitespace differs. See highlights below.
Special character legend
Your output
Expected output
Ex: If the input is:
2000
2
Then the output is:
1000500250125userkur = int(input(O)
x = int(input())
current_num = userkim
for _ in range(4):
current_nur//= x
print(current_rur, end-'')
print()
When dane developing your program, press the Submit for grading button below. This will
subomit your program for auto-grading.
95
R=--=-0,0,0=0=
0=-=0
-0=-0=-0=-0=-0=-=-=0
Latest submission -11:49 AM EDT on 09/05/24
Only show failing tests
Download this submission
1:Compare output
Output is nearly correct, but whitespace differs. See highlights below.
Special chanacter legend
2000
2
Expected output
1000500250125
What am i doing wrong? It says i have a space? Please help!
Thank you!!
Write a program using integers userNum and x as

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!