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

A balloon was partially filled with helium gas at room temperature. It occupied 4.0 liters of volume at 700.0 mmHg atmospheric pressure. When the balloon was re
Select the correct answer. Read this creation story: A long time ago, there was a vast expanse of water instead of earth. The animals and trees lived on a leve
A. 1/9 B. 1/8 C. 2/9 D. 1/4
The base of a triangle is 10 inches more than 3 times the height. If the area of the triangle is 16 square inches, find the base and the height
Soon there was even worse news for Neto and Jesse. Most of the players who had voted not to play had suddenly changed their minds. Even the Hispanic players. Th
which organelles are found in animal cell ?
Which of the following statements best describes the effect of narration on the story? The narration reflects the violent aftermath of Moby D.ck’s attack. The n
I’m confused on this one
Is this correct? After the gophers had eaten the chrysanthemums, Dad set a trap.
What is the value of P?