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

congress decides to pass a law that increases minimum wage, this is an example of using a(n) ______ power.
Why the Great depression was such a worldwide catastrophe?
One of the contributing factors to America's initial decision to enter into World War I was the Zimmermann Note. What were the contents of this telegram sent fr
Which interrogative pronoun best completes the sentence? How is the pronoun used? For __________ is your sister waiting? A. whom; object of a preposition B.
Which two design elements can be found in the U.S. flag? balance and pattern A:pattern and rhythm B:emphasis and unity C:balance and pattern
what is the square root of 196
Most earthquakes happen: A.) near passive margins B.) near subduction zones C.) in the middle of continents D.) in a ring around the Atlantic Ocean
Which of the following activities would have the most direct influence on lawmaking? Joining a special interest group Meeting with an elected official Talking a
Which human activity has aggravated the ecological issue of global warming
Y=-x^2+2x+7 Y=2x+7 Can you please help me with this substitution for graphing