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

what led king john to signing the magna Carta
make a list of possible pairs of numbers that have an LCM of 48
How does Chile's population differ from that of other Andean nations
How are atoms and elements related?
What governs an artist’s choice of size?
atoms of different elements area. too hard to compare.b. exactly the same.c. different from each other.
Kelly tells you that when variables are in the denominator, the equation one over two plus three over x equals three over four becomes unsolvable. Kelly explain
samuel needs $29 to downllad some songs and movies on his mp3 playee his mother agrees to pay him $6 an hour for raking leaves in addition to his $5 weekly allo
why were americans usure of how governmeent should handle bringing the south back into the union
Nearest whole number to 67,400