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

Who discovered the Cave of Lascaux? Three female archaeologists Marcel Bouique Pablo Picasso Teenage boys
What is the greatest whole number that is less than (5/2)*3*/ (3/4)*2
If entertain means “to hold together,” what does entertaining mean in the following sentence? The manager is not entertaining requests for unnecessary expenses.
9/11= ?/22 need help please
plateau period are times in life when
Which of the following fractions is equivalent to 10/12 ? A.4/5 B.20/30 C.40/48 D.12/14
Rewrite 2 2/5 as an improper fraction.
Solve the equation. x^2 = 150 A. ± 25√6 B. 15 C. -15,15 D. ± 5√6
While reading a magazine, you ask a friend the meaning of the word suffragette. Although she says that she's never used this word in speaking or writing, she kn
8 1/2 is an example of an improper fraction. true or false?