Reggie3223 Reggie3223
  • 25-08-2020
  • Computers and Technology
contestada

Write a program using integers user_num and x as input, and output user_num divided by x three times. Ex: If the input is: 2000 2 Then the output is: 1000 500 250

Respuesta :

masterrajesh119
masterrajesh119 masterrajesh119
  • 04-09-2020

Answer:

Soory! I can't tell please tell clearly

Answer Link
siouxfederation1
siouxfederation1 siouxfederation1
  • 22-09-2020

Answer:

user_num = int(input("Number: "))

x = int(input("x: "))

for i in range(1,4):

    user_num = user_num/x

    print(user_num," ")

Explanation:

Answer Link

Otras preguntas

Three waiters at a local restaurant earned different amounts of money the past week. Jennifer earned $40 less than twice the amount Tony earned. Chris earned $6
A child with poor table manners is sliding his 240 g dinner plate back and forth in Simple Harmonic Motion with an amplitude of 0.120 m on a horizontal surface.
agriculture seen as a cause of inequality
please answer quickly!
Which sentence is punctuated correctly? A. My plant society requires a three fifths majority to vote in a new president. B. My plant society requires a three-fi
Romeo conceals himself in darkness because
Two urns contain white balls and yellow balls. The first urn contains 2 white balls and 7 yellow balls and the second urn contains 10 white balls and 4 yellow
What was the German army's goal at the Battle of the Bulge?
What is the slope and y-intercept for the line represented by this equation? 5x+13y= -13
Which of the following equations are identities? cot x = cosx/sinx tanx = 1/cot x cscx = 1/cos x cscx = 1/sec x