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

If .654 g of oxygen dissolves in 1.5 L of water at 1.65 atm, at what pressure would you be able to dissolve 1.35 g in the same amount of water?
Match the words in the left column to the appropriate blanks in the sentences on the right. Make certain you have filled every blank with a term before clicking
what are things that are not cohesive
Calculate the exact value of 70/15 × 14/5
Is a measure of 22 inches​ "far away" from a mean of 16 ​inches? As someone with knowledge of​ statistics, you answer​ "it depends" and request the standard dev
A calculator that is regularly priced $20 is on sale for 40% off. What is the sale price of the calculator?
Another name for the Allied powers in world war 1 was?
Multiply. (3x - 2)(x + 5) A: 3x² + 17x - 7 B: 3x² + 17x - 10 C: 3x² + 13x - 10 D: 3x² + 6x - 7
What is one wayAfricanculture in the form ofmusic made its way to theUnited States?​
A certain type of laser emits light that has a frequency of 4.6 x 1014 Hz. The light, however, occurs as a series of short pulses, each lasting for a time of 3.