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

is 9.23 greater than, less than or equal to 9.32
Analogy for Chicago Bulls : basketball ::
How to write 76. 100 in word form
A family uses 12,986.64 Swiss francs per year to pay a mortgage that requires US dollars. Approximately how much, in US dollars, does the family spend per month
Organisms are discovered to be living in a deep-sea trench. They are most likely _____. a. eukaryotes b. viruses c. archaeabacteria d. eubacteria
Four regions in texas from lowest to highest elevation
Need to write a 200-word essay on the death penalty. Is it too harsh or not. Any ideas?
Write 6.7 in two other forms
Which amendment establishes that a president can only serve two terms?
Convert 21/15 to a mixed number and reduce the fraction