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 was the stamp act?
what was the declatory act?
Which of the following is a way to get more sleep? Question 14 options: Read a tablet before going to bed. Sleep in later on the weekends to make up for lost
Which part of this excerpt from Charles Dickens's Oliver Twist suggests a trace of humane feeling in Mr. Bumble's character? For some time, Mr. Bumble drew Oliv
is capitalism is an example of a planned economy
The cylindrical cannister of this fire extinguisher has a radius of 2.5 inches and is 13.5 inches high.Which is closest to the number of cubic inches it will ho
A typical slice of white bread contains 1.5 grams of sucrose and 10.2 grams of starch. on average there is an estimated 25 trillion red blood cells in the huma
x^3 = 125 over 27 CAN I PLEASE GET HELP
whats the term for someone who supported great britain
One god in the aztec pantheon was quetzalcoatl, who played an important role in the survival of this culture by: