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

A cat spends about 7 out of 10 hours sleeping. About what present of the cats day is spent sleeping
After a bill has been introduced, what happens next? It is debated on the floor. It is sent to the other house. It is reviewed in committee. It is approved b
what is 9 copies of 3.65
show math equation of 5x + 6x equation
gulfside gifts has 48 boxes of postcards to sell. there are 24 postards in each box. if the shop sell 3 boxes of postcards, how many postcards does the shop hac
What inner planet has enough gravity to hold on to all its gases
How did shah Abbas help the safavid empire flourish
He took the bad news with surprising 1.witheredness 2.pavilion 3.detachedness 4.resignation and showed no emotion
How did shah Abbas help the safavid empire flourish
The name of the general who defeated Tecumseh’s brother, and his followers, at the Battle of Tippecanoe in the Northwest Territory was _____________ Henry Harri