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

In every situation, avoiding causing harm to our patients is an example of which ethical principle?"
A period of economic growth that follows the lowest point in a business cycle is called a(n) A. trough B. peak C. contraction D. expansion
Can someone please help me with math.
what is the solution of 2^x = -3x + 5?​
which table shows data with variability?
HELPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
Which was a result of the War of 1812? o Americans gave up any hope of annexing Canada. • President Janmes Madison resigned over his conduct of the war. The nat
how deltas are formed​
Guyssssss please help :(
A student has $5.00 to spend on a poster, paint, and stickers. The total cost for the poster and the paint is $2.80. The cost of each sticker is $0.55. Write an