emilycarson921 emilycarson921
  • 22-03-2020
  • Computers and Technology
contestada

I need the answer to 4.6.6: Target
please and thank you

Respuesta :

problemsolver2019
problemsolver2019 problemsolver2019
  • 29-03-2020

Answer:

i=0

while pow(2,i)<=1000000:

   print(pow(2,i))

   i+=1

Explanation:

We need to write a program that prints the power of 2, and till the number is less than 1 milliion. And the program in python is as above.

Answer Link

Otras preguntas

in the expression 12a+5, identify the coefficient
What is the median of 37, 39,40, 42,42, 45, 48, 49, 51, 52?
Convert decimal to fraction
joel has twice as many CDs as Mariella has. subtracting 7 from the number of cds joel has and dividing by 3 equals the number of cds Blake has. If blake has 25
the sum of Kris and Victor's ages is 27 years.  in 3 years, victor will be twice as old as Kris will be.  what are their present ages?
if you could live on the moon through one lunar cycle , how would you experience the phases of the moon? would you see the earth going through phases? plz expla
Which metrical form was Pope said to have brought to perfection? a) the heroic couplet b) blank verse c) free verse d) the ode e) the spondee
joel has twice as many CDs as Mariella has. subtracting 7 from the number of cds joel has and dividing by 3 equals the number of cds Blake has. If blake has 25
Convert decimal to fraction
Fifty pounds of a cement-and-sand mixture is 40% sand. How many pounds of sand must be added for the resulting mixture to be 60% sand?