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 does active transport take place? A. Animal cells B. Plant cells C. Prokaryotic cells D. all cells.
A bluebird has mass of 34 grams. It flies from the ground to the top of an 8.5-m tree. What is the change in the bluebird's gravitational potential energy as it
what is the equation for the line of reflection? x=6 y=6 y=x y=2
I don’t know the answer to the question. Is it A, B, C, or D
Find an explicit solution (solved for y) of the given initial-value problem in terms of an integral function. dy/dx + 3y = e^x^5, y(2) = 5.
A capacitor is storing energy of 3 Joules with a voltage of 50 volts across its terminals. A second identical capacitor of the same value is storing energy of 1
what does x² - 5x equal
As the car gets older, will its engine's compression ratio change, if yes how.
Zoe used two examples to represent two different states of matter. Example 1: Fish swimming around one another in an aquarium Example 2: Fish swimming away fro
Calculate the standard deviation for the following set of numbers: 73, 76, 79, 82, 84, 84, 97