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

What is the length of bc
Which of the following best states the authors purpose?
What is the primary difference between climate and weather?
Which organization collects consumer complaints
When a perfectly competitive industry is not in the long-run equilibrium, all firms in the industry A. earn negative economic profits. B. may earn negative or p
A square has side length (x+5) units. What is it’s area
The Battle of Gettysburg a. represented the last time Confederate forces seriously threatened Union territory. b. saw Union General George Meade lose nearly
Which of the following are exceptions to the childproof cap requirement set into place by the Poison Prevention Packaging Act of 1970? A. Emergency medications
Kathryn has some candy to give yo her five children. She first took six pieces for herself and then evenly divided the rest among her children.each child receiv
A rectangular prism has a height of 16 inches. The base of the prism has an area of 35 square inches. What is the volume of the prism? Enter your answer in the