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 most likely meaning of the metaphor in the following sentence? The teacher listened with a wooden face as the student gave excuses for not having do
Use the distance formula to find the distance if point a is 3,4 and point b is 1,2
themes of expressionism
The height of sunflowers can be represented by a geometric sequence. The first measurement showed the sunflowers to be 12 inches tall, while the 5th measurement
A student wants to demonstrate the size of a magnetic field to a friend. Which activity should the student perform A Suspend a magnet freely using a threes, and
I need help with this problem.​
Code Problem 3 in Python 2. Problem 3 Depreciation spreads the deductible cost of a fixed asset over its estimate life. The formula uses original cost c, salva
Bible time what is the Turning point n the book of numbers is
what are the preliminary requirements of electric circuit​ pls answer
Which word in this sentence is a transition to show sequence or results? The two companies met at Promontory, Utah, in May 1869. They then joined the railroad t