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

Which of the following statements best describes the relationship between force and work? a. Work equals force divided by distance. b. Force and work are two
The Pauli exclusion principle states A. no two electrons can have the same four quantum numbers. B. energy levels will fill at the lowest levels first. C. one e
Clinton succeeded in getting a treaty signed between which two Middle East nations? Israel Egypt Iran Jordan
what tells the number of protons in the nucleus of every atom of an element
How does rna differ from dna
How might reading a series of proverbs affect people
if it can perform 4.66×10^8 calculations per socond what is the performance of the computer in one minute
Which of the following nations withdrew from the British Commonwealth to form an independent republic? A. Canada B. Australia C. New Zealand D. Ireland
What would happen to the size of the carnivore population if the herbivore population increased?
What is the relationship between .04 and .004