2.12 LAB: Divide by x
Write a program using integers user_num and x as input, andoutput user_num divided by x three times.
Ex: If the input is:
Then the output is:
Note: In Python 3, integer division discards fractions. Ex: 6 //4 is 1 (the 0.5 is discarded).
395522.2658658.qx3zqy7
LAB ACTIVITY
2.12.1: LAB: Divide by x
2.12 LAB: Divide by x Write a program using integers user_num and x as input, and output user_num divided by x three tim
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am