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

BRAINLIEST FOR EXPLANATION (my own question) SO when you have a point on a graph, say it's at (-3,7), and you have to graph the dot after a rotation of 90 degre
Sleeping is very troublesome to me, I can't sleep even though I try my hard to fall asleep (since a month)​
Which of the following is not a kharif crop? A) Wheat B) Jute C) Cotton D) Soyabean
it gets published :)
Read this sentence and pick the correct choice that makes this sentence correct: “Crabs and lobsters crawl along the ocean floor.” A. Change “crabs” and “lobste
What anchored cach round beneath the water level?
Bindy, an 18-year-old high school graduate, and Luciana, a 40-year-old college graduate, just purchased identical hot new sports cars. Acme Insurance charges a
Matthew learned how to break dance when he was just seven years old. His older brother taught him the new dance trend when he and his friends heard about it at
Anyone have tips on how to be happy?
how digestion happens in human​