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

Kim estimates that the faucet in her kitchen drips at a rate for 1 drop every 2 seconds. Erik wants to klnow how many times the faucet drips in a week.
Why do Andhra Pradesh donot recive any snow fall during during winter months. PLEASE HELP.....EXAM TOMORROW
how do I solve x+2y=8
A storage tank shaped Like a rectangular prism is being manufactured to hold 100,000 cubic feet of natural gas. It has a length of 10 feet and a width of 25 fee
What do you mean by corrosion? How can you prevent it?
Given the inequalities y > 5x-8 and y >3x+4, find the point that satisfies one inequalities but not them all
Any number that is divisible by 3 is also divisible by 9.Find a counterexample to show that the conjecture is false.18274548
In Romeo and Juliet act 2, which character serves as a messenger
One-half of a number is -12. Find the solution ???
Consider the following system of equations. y = 2x - 2 y - 2x = 5 What can you conclude about the system of equations? The system of equations is inconsistent.