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

Is this a parallel sentence? "That's why when you met someone, you should always be gleaming, smile, and be pleasant."
correct=brainleist whats x= ?
What two factors do you need to measure to calculate the speed of an object such as a car? A distance traveled and the time it takes to travel that distance B.
The quotient of s and 5​
Which would probably have the greatest effect on a protein's function
Figure B is the image of figure A after a dilation centered at the origin. What is the scale factor of the dilation?
The owner of a ballroom dance studio has 8 locations in the Houston area. Each studio is a 30 foot by 30 ft. room. If each couple requires 72 inch by 72 inch ar
Why did Arul take Viji to visit Kutti?
Please help ASAP! Read the excerpts from "opening statements from John F. Kennedy and Richard M. Nixon First Televised Debate." Kennedy: I think we can do bette
-2(3x + 2) > -6x - 4