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

The sales tax on a piece of furniture that cost $450 was $28.13. What was the percent sales tax?
list in order the three major parts of a greek play
How many houses for the legislative branch of government were established by the 1787 U S constitution
danielle spent $35 on a magazine and some notepads. if the magazine cost $3 and each notepad cost $4 then how many notepads did she buy
Which sentence has the correct subject-verb agreement? Towns in the flood zone are in great danger.Towns in the flood zone is in great danger.
Which of the following is an example of a solution? A.fog B.soda water C.milk D.mud
Which New Deal program was struck down because it regulated commerce improperly?
Which of the following types of algae shows a distinct alternation of generations?
The Congress of the United States has been located in all of the following cities, sometime in its history, EXCEPT _____________. a. Boston c. New York b. Phila
How many times can 3 go into 400