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

What was the name of the new tax that was imposed on all American colonists and required them to pay a tax on every piece of printed paper they used?
Georgia’s governor wants to host the Olympics in Atlanta. Which type of temporary committee would he most likely create to study the issue? Standing Conference
(-x+2y)(3x-2y-8) using distributive property
Susie is paid an annual salary of $71,500. Find Susie’s biweekly salary
solve 4x-6=18 solve for x
What is the heat required to vaporize 650 grams of a liquid with a heat of vaporization of 723 joules/gram? A. 0.90 J B. 1.1 J C. 73 J D. 1,370 J E. 470,00
write the standard form for 25
A train picked up 20 people at station A. At station B 15 people got off and 3 people got on. How many people are on the train now ?
Which equation applies the associative property of multiplication?
Which of these statements best fits the description of social change? A. It is a harmful change in the evolution of a civilization. B. It is the change in pat