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 :)))))))
Find the percent of change for 90 is increased to 135.
Jake made a total of 7 copies at a copy shop, with some being black-and-white copies and some being color copies. Black-and-white copies cost 8 cents, and color
QUICK CHECK 1. What are the main types of investment alternatives?
prime factorization of 5 is?
3CH4 and C3H12 have the same number and kind of elements. How are they different? Feel free to use the “Playground” tab to complete this.
PLEASE HELP ASAP!! will mark brainlest
What long-term movement does Esherick see the Boxers as part of?
To what does the phrase "A whiff of grapeshot" refer? A. Napoleon's suppression of the street riots with cannon fire B. Napoleon's habit of wearing sweet-smelli
A 400 kg spacecraft has a momentum of 30,000 kg m/s up. What is the velocity.