cynthiaagboma631
cynthiaagboma631 cynthiaagboma631
  • 03-08-2021
  • Computers and Technology
contestada

31. Explain what the program does. Write out the output 20 PRINT "Hellooo00000000000, world!" 30 PRINT "I'm learning about commands in BASIC." 40 PRINT 'This text is being printed via the PRINT commarrd. 2 209​

Respuesta :

khoa18050
khoa18050 khoa18050
  • 03-08-2021

o_num = input ("Please enter the amount of \"o\": ")

zero_num = input ("Please enter the amount of zeros: ")

i = 0

while i < o_num and i < zero_num:

repeat_o = "Hell" + o_num

repeat_zero = repeat_o + zero_num

i+=1

print (repeat_zero)

Answer Link

Otras preguntas

You can purchase 2 sodas for 3 dollars, how much does 6 sodas cost?
A store has 300 televisions on order, and 30% are high definition. How many televisions on order are high definition? You may find the bar model useful in compl
hey, guys welcome back to " id.k how to make my own decisions so I ask strangers on the internet for help but I only give them the smallest amount of details ab
(x+6) (x-2) multiply out
If this was a PSA about not spreading germs, which phrase would make the best slogan? Cover your sneeze, prevent disease! Don’t forget to use a tissue! Cover yo
.What do you think accounts for the enormous popularity of "black minstrels" with white audience's
A car travels at a constant speed of 15 m/s for 2 minutes. The car increases its speed from 15 m/s to 25 m/s during the next minute and travels at a constant sp
Nezuko Is Pretty Cute But Have You Seen Suga I Mean Come On.
los estudiantes (blank) mirando las noticias
Describe how these structures are homologous.