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

PLSS HELP ILL GIVE A BRAINLIEST TO WHOEVER IS RIGHT
How does increasing the minimum wage help teenager and people struggling with jobs?
what is 15 past 8 in french
Please help me answer these two questions. Thanks
PLEASE HELP !! ILL GIVE BRAINLIEST *EXTRA 40 POINTS* DONT SKIP :(( .!
Find the mean cost of pants: $12, $16, $22, $ 23, $11, $14. Round to the nearest cent.
Mole Conversion??????
2.) Olivia is borrowing $60 from her brother at 10% monthly interest. The interest is to be compounded every month, and her only repayment will be in full after
the minute hand on a grandfather clock is 8 inches long what is the circumference of the circle to the nearest tenth of an inch traveled by the minute hand in o
A triangle has sides of length 2 cm and 12 cm. What can you say about the length of the third​ side?