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

how many books did Harriet beecher stowe write?
do you know how to say my in Spanish?
What two factors determine the state of rocks and metals Inside the earth?
which inequality is equivalent to 7x-2y> 8. A) y> 7/2x+8 b) y>-2/7x+8/7 c) y <7/2x-4 d) y <-2/7x-4/7 (whats a Inequality? )
Which substance will combine with oxygen gas to produce a greenhouse gas? a. Na b. S c. Hâ‚‚ d. Ne e. C
7x+3y=22 4y=20 I need to know how to write this equation out with the answer
what does the zeppelin
1,352 pounds is what fraction short of a ton? A) 169/250             B) 77/100               C)13/20             D140/223
What is the size and shape of a super volcano?
A car that travels from point A to point B in four hours, and then from point B back to point A in six hours. The road between point A and point B is perfectly