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

there is a ____ signage which is uses symbols for quick and easy understanding a county b state c national d regional (this has to do with drivers ed)
What were song and tang dynasty palace made of?
What is the energy in joules and ev of a photon in a radio wave from an am station that has a 1500 khz broadcast frequency?
You have to make a factor tree
What is the degree of 12x4 - 8x + 4x2 - 3? A. 8 B. 4 C. 3 D. 12
Is graphing inequalities the same as normal graphing shading?
Line E passes through the points (-3,4) and (2,7). what is the slope of a line perpendicular to line E?
"You must belong to those beef-cattle peoples down the road," I said. They said "Asalamalakim" when they met you, too, but they didn't shake hands. Always too b
When you buy a bond, the issuer will owe you the full amount of the bond regardless of when you choose to cash it in. Please select the best answer from the
Prior to the ratification of the constitution, the united states was governed by the articles of __________.