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

Central Subs made 27 sandwiches using 12 pounds of turkey. How much turkey was used per sandwich?HELP ME!
What is the range of {(1, 2), (3, 4), (5, 6)}?
how do oceanographers get to the bottom of the ocean?
what is 122/11 equivalent to as a decimal??
write two integers with different signs that have a sum of -25. write two integers with the same sign that have a sum of -25
write three ratios that are equivalent to the one given 18 rights handed student for every 4 left handed students
what is 25/99 as a decimal terminating decimal or repeating decimal
T(8,15) is the midpoint of CD. The coordinates of d are (8,20) what are the coordinates of c
what is an repeated decimal equivalency to the fraction 8/9
22/100 in simplest form?