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

What does the narrator allude to at the end of this sentence from Mark Twain's "The 1,000,000 Bank-Note"? "So I loved her all the more, seeing she could be so c
What term is used to describe nonfiction written works such as newspaper articles, essays, and biographies? a. analytical b. explanatory c. expository d. pe
Find the Missing Hypotenuse
Carl is on an expedition to the bottom of the ocean. As the submersible sets down on the ocean floor, it is resting on what layer of the earth?
A governments monetary policy is its plan to control
HELP; The life spans of 10 adult mayflies have a mean of 4 hours and a MAD of 2 hours. Fill in the table below with possible values for the life spans. You can
Grant started a marathon 8:00 A.M. He took 4 hours 49 minutes to complete the marathon. When did he cross the finish line?
What is the simplest form of this. At the picture
When and where was the sharecropping contract written? Need it in 2 min. please
Which two regions controlled most of the trade that occurred in Europe during the Middle Ages? a. France and Spain b. Italy and Germany c. Turkey and Greenla