taylorgallien4732 taylorgallien4732
  • 12-09-2022
  • Computers and Technology
contestada

Write a program using integers usernum and divinum as input, and output usernum divided by divinum three times.

Respuesta :

Baraka1 Baraka1
  • 23-09-2022

user_num = int(input())

divi_num = int(input())

for i in range(3):

   user_num/= divi_num

   print (int(user_num), end=' ')

If we have two inputs 54, 6

Where

usernum = 54

divinum = 3

output will be 18  6  2

Follow the link below to see how you can write a program to execute multiple times

https://brainly.in/question/49503553

#SPJ4

Answer Link

Otras preguntas

Where was the Olmec civilization was located in?
What is the first step in problem solving? a. gather information c. identify the problem b. select a solution d. examine pros and cons
Between 1805 and 1807, Napoleon defeated armies from all of the following countries EXCEPT: a. Prussia. c. Russia. b. Austria. d. Spain. Please select the b
If 19 more than 2 times a number is 23, what is the number?
Lori says that 8 is not a factor of 80 because 8 does not end in 0 does loris statement make sense
68 increased by 75%
Which of these items is a tax deduction?
True or False A main difference between the ancient Greek and Roman governments was that in Rome all men could vote, while in Greece only the wealthy men had th
abby is putting tiles on a floor she needs 48 tiles and 8 rows each row has 6 blue tiles the rest are purple how many purple tiles will she need
Every file on a storage device has a _______. (a.) name (b.) size (c.)both of the above (d.) none of the above