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

Please help right now!!
Please help me out!!!!!!!!!!
Simplify Ratios 63 to 21
How did the agricultural revolution lead to an increase in human population numbers? How did the agricultural revolution lead to an increase in human population
What is the value of x?
A board that is 2/3 of a yard long needs to be cut into four equal pieces. what will the length of each piece be?
Joe makes a daily protein shake and includes a raw egg in it for extra protein. he is at risk for which foodborne illness
The rate of a chemical reaction will be affected more by which? entropy enthalpy both enthalpy and entropy neither enthalpy nor entropy
Which two factors cause the perpendicular rays of the sun to move between 23.5o n and 23.5o s?
True or False: 2y = -3x + 8 is an equation that represents a line parallel to the line 6x + 2y = 9.