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

JayDior21 en busca de usted? Copy and paste this to see what it means......
Help urgent I need this done quick
Given that r= 2p2/q-3 ; rearrange the formula to make q the subject of the formula.
PLEASE HELP ME WITH THIS ONE QUESTION The color orange has a wavelength of 590 nm. What is the energy of an orange photon? (h = 6.626 x 10^-19, 1 eV = 1.6 x 10
Does crossing over occur in sex chromosomes?
Why does lead affect the brain and nervous system?
Find the radius of a circle with area 42 square feet
What is the peco bills tall tale about?
what is the area measured in square centimeters of the rectangular picture below​
Which event provides the exposition of the play Anne Frank? a. the reading of the diary b. Anne and Peter meeting c. the Nazi takeover of Holland d. the reun