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

Read the excerpt from Act II, scene iii of Romeo and Juliet. Friar Laurence: The grey-ey’d morn smiles on the frowning night, Chequering the eastern clouds with
edie orders 8 pizzas for a party. she gives each person at the party 3/5 of a pizza. how many people are at the party?
Why was the racial unrest in northern cities after wwi?
Is uk a nicer place than america?
What happens when a current is applied to two electrodes immersed in pure water?
What was the purpose of boycotting british goods during the townshed acts??
Coupon rate 12% Coupons per year 2 years to maturity 15 Price $1,153.72 Face Value $1,000.0 Tax Rate 40% how do you calculate the market interest rate
Why some minerals only occur in metamorphic rock?
What's .25 as a fraction in simplest form? A. 25⁄10 B. 1⁄4 C. 25⁄100 D. 1⁄5
You deposited 1700 dollars in a savings account that earns a simple interest rate of 3% per year. how many years do you need to keep the money in the account to