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

Can anyone please help me? :(
Consider the following information: the president can veto the acts of Congress while the legislative branch holds the purse strings and approves presidential n
Solve (-18^3+17x+6)/(3x+2)
If `f(x)=x^2-81` and `g(x)=(x-9)^(-1)(x+9)`, find `g(x)xxf(x)`.
How many gametes are produced during meiosis
Choose the correct description of the graph of the compound inequality x − 2 > −4 and 3x less than or equal to 15.
Aerosol cans use compressed gases to propel the contents out of the can. Which of the following is the best explanation for why aerosol cans should not be overh
please help me asap.. thanks​
This image shows a W-2 form. Which best describes the purpose of this document?
Directions: Type your answer in the box.a woman has 6 apples. She needs 1/4of an apple to prepare one serving of fruit salad how many servings can she prepare