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

How many five-digit numbers can be formed using the digits 1, 2, 3, 4, 5, 6, 7, and 8? repeated digits are allowed?
The enzyme that unwinds a segment of the dna molecule is
Identify the biochemical process occurring in this cell that produces the oxygen
Two methods that are used to determine if an infant can see are _____ and _____
How many liters of nh3 are needed to react completely with 30.0 l of no (at stp)? 4nh3(g) + 6no(g) → 5n2(g) + 6h2o(g)?
Determine the end behavior of each function. (a)    f(x) = 14 + 2x2 − 13x3 − x4 f(x) → as x → −∞ f
The opposite angles of a rhombus are equal. a. True b. False
The number that describes how closely a best-fit line models a set of data is called the
What is the definition confederate states of america?
Who married Lincoln and who shoot him?????