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

Rationalize the denominator 3-sqrt(6)÷4+sqrt(5)
how much we can expect to earn by having petroleum engineer degree with PhD?​
Please answer this correctly
2 1/3 + 6 3/5 =??????
Write an equation for the graph below in slope-intercept form:
how did the season of winter halt German march through Russia leading the Russians to make a come back
BE RIGHT! PLEASE! And fast!
Two angles are complementary. One angle is 8 times as large as the other. Find the number of degrees in each angle.
The line y = –2x – 8 is graphed. Which ordered pairs are solutions to the equation? Check all that apply. (–8, 8) (–6, 2) (–2, 4) (0, –4) (2, –12)
Help! locus points! 1. In a plane, the points 2 cm from a given point X. 2. In a plane, the points 1 cm from a given line AB.