jasminemaryd683 jasminemaryd683
  • 21-10-2021
  • Computers and Technology
contestada

LANGUAGE IS PYTHON PLEASE HELP.

Write a while loop that repeats while user_num ≥ 1. In each loop iteration, divide user_num by 2, then print user_num.

Sample output with input: 20
10.0
5.0
2.5
1.25
0.625

Respuesta :

309457jh 309457jh
  • 21-10-2021
10.0 + 5.0 + 2.5 = 17
Answer Link

Otras preguntas

20 points!!! Please help!!!! Why does Scarlett O'Hara want Ashley to stay in Atlanta? (Gone with the wind)
I set a goal to drink 64 ounces of water day.If i drink 10 1/3 ounces in the morning,15 1/2 ounces at noon,and 20 5/6 at dinner how many more ounces of water do
A triangular plot of land has sides 205 m, 195 m, and 120 m. Find the measure of the smallest angle.
which of the following is a pattern of biography that supports the theory of evolution?a. analogous structures show that living in similar habitats doesn't lead
bank offers two interest account plans. Plan A gives you 6% interest compounded annually. Plan B gives you 13% annual simple interest. You plan to invest $2,00
How many kids did Zeus have and which mother had the most of those kids?
Ivan's has 3/4 pound of hamburger meat. She makes 3 hamburgers patties.each patty weighs the same amount.hiw much dies each hamburger patty weigh
The main conflicts faced in Florida resulted from which of these? A. Territorial disputes with Spain B. Limited land and resources for settlement C. Pirate a
what is the definition of a solution
If you had a dog what would you name it, what would you call it, what would you feed it, would you play with it, would you punish it if it did something bad? Wo