Question: Please solve this and demonstrate the code Write a program that reads integers user_num and div_num as input, and outputs user_num divided by div_num three

Write a program that reads integers user_num and div_num as input, and outputs user_num divided by div_num three times using floor divisions: Ex: If the input is: 20002 the output is: 1000500250 Note: In Python 3, floor division discards fractions. Ex: 6//4 is 1 (the 0.5 is discarded). 6 print(result, end =' ') 7 8 result = result // div_num 9 print(result, end = ') 10 11 result = result // div_num 12 print (result, end=' ') 13 14 15 Run your program as often as you'd like, before submitting for grading. Below, typ input values in the first box, then click Run program and observe the program's ou second box Enter program input (optional) If your code requires input values, provide them here Your program expects input Input(fromabove) Program errors displayed here Traceback (most recent call last): Eile "main.py", line 2, in
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
