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

In the story Sara sees red does Sara help the injured women
The main difference between speed and velocity involves a. gravity. b. direction. c. distance. d. weight
Y varies directly as x. If x=5 when y=12 find x when y=30
how do you write .006 in word form
the molar mass of Ba(OH)2
Bacteria cells are classified as prokaryotic while fish cells are classified as eukaryotic. Which of the following best describes the difference between these t
Mary has saved $17.50 in the past 3 weeks. At this rate, how much will she save in 15 weeks ?
Which word means an excess of an overabudance in supply?
What was the name of the final Nazi offensive battle of World War II? a. the Battle of Berlin b. the Battle of Normandy c. the Battle for Paris d. the Battl
Write the following number in standard decimal form. four and forty-two ten-thousandths