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

what gives u.s government the right to collect taxes?
The formula for the amount with simple interest is A = P(1 + rt). Find t if A = 168, P = 150, and r = 0.08. ...?
Dehydration can be avoided if a lactating woman adds how much fluid to her diet?
2. A store spent $263.50 on 50 lb of bulk goods. What is the price per pound, in dollars, of the bulk goods? (a) Decide which estimate, 0.05, 0.5, 5, or 50, is
Which statement about soil color is true? Answer Soils do not vary in color based on their location on Earth's surface. Soils far from the equator are always da
Review the process outlined below. What will be the effect if the replication process is followed as described? 1. DNA separates into two strands. 2. T
3. Unlike the Patriots, who were willing to fight the British until American independence was won, what was the name for the Americans who chose to stay with
One-ninth of all sales at a local Subway is for cash. If cash sales for the week were $690, what were Subways total sales? This one is not clear. I know i am m
Which record-keeping strategy was used by the Egyptian and the Mesopotamian civilizations? using papyrus reeds as permanent record employing trained scribes to
Compare an altitude and a median of a triangle The altitude of a triangle is the height of the triangle and the median of a triangle intersects each side