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

Find the perimeter of a square when it's side length is 12
How are judges selected in NC? How does this process compare to other states?
What religion follows the Old Testament?
I will give brainliest. . . . . . . . Anyone here like my drawing. rate it out of 10. I give it a 6 or 7.
What type of muscle tissue is shown here?
A school playground is rectangular and has a length of 50 m and a width of 30 m. A safety zone of uniform width surrounds the playground. If the area of the saf
Someone help please I don’t know how. My teacher barely explained it-
Someone help me please. It's due in 30 mins
Which number represents the country in which georgia is found?
Why might a financial advisor suggest donating to a charity? (5 points) a A free membership b A tax break c Additional assets d A higher money contribution