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

Does anyone mind helping me with this?
Ella has 0.5 lbs of sugar. How much water should she add to make 20% syrup?
The Sixteenth Amendment provides Congress the ability to levy a(n) __________ tax. a)property b)vehicle c)income d)sales
Which three lengths could be the lengths of the sides of a triangle? A) 6 cm, 23 cm, 11 cm B) 10 cm, 15 cm, 24 cm C) 22 cm, 6 cm, 6 cm D) 15 cm, 9 cm, 24 cm
The smaller triangle is the image of the larger triangle after a dilation. The center of the dilation is (−3,−2). What is the scale factor used to create the di
A delivery that occurs within 3 hours from the onset of labor is called?
How long does a milkshake last in the refrigerator?
Do you think that the Lilliputians are Hypocrites
Which pair of legislators are known for their ability to compromise on states rights, federalist issues, and sectional issues?
A square has a side length of 5. if another square is created by doubling the side length, what happens to the perimeter of the dilated square?