Question: 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
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). LAnMcriviry2.14.1LAB:Divideinputintegers. main.py Load default template.. 1 user_num - int(input()) 2x= int(input ()) 3 print(user_mun //, user_num ////, user_num /////)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
