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

What is the purpose of a lien when you get a secured loan?.
A 67-year-old man is found unresponsive, not breathing, and without a pulse. You and a second rescuer begin performing high-quality CPR. Two additional rescuers
Translate each verbal phrase into an algebraic expression: 1. 6 inches by the number n
How would describe the characteristics of the urine
Why did Britain want to prevent India's economy from prospering?
5. How many grams of potassium bromide will dissolve in 450g of water at 80°C?
Which of the following represents a set of irrational numbers? A: {√3, √16, √21, √25} B: {3.1, 1.234..., √36, π} C: {12π/4, √2/4, 1.121214…, √5 } D {23.1, 1.234
How is mobile gaming a thriving industry?
I NEED HEEEEELP WITH THIS QUESTIOOOON, maybe for some people it is very easy but not for me ​
(Pls help ASAP) (Willing to give 15 points for 2 answers) (Pls don't answer if you don't know) The second one you have to choose GREATER THAN, LESS THAN, OR EQU