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 person who doesn't have enough calcium in his or her diet is at risk for developing bones that are weak and break easily. This condition is known as a. osteo
the height of the room is 8 and 2 inches and Maria is 64 inches tall what is the distance from the top of her head to the ceiling?
Which is an accurate statement about the fall of the Roman Empire and its effect on culture and civilization in Western Europe? a. The Goths established a new,
give me an example of figurative language in the poem Arithmetic by Carl Sandburg
Which is the largest state by total area in the United States of America?
How has immigration shaped Saskatchewan culture
225 divided by 10 exponent 0
What does endocrinology mean?
Which compound is used to make asphalt?
Which of the following is a commonly used mouse command? a. Stop c. Run b. Drag d. Pull