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

PLEASE!!!!!!!!!! HELP NEEDED QUICKA state offers two lottery games, WinOne and PlayBall. Both games cost $2 per ticket. -In WinOne, the player picks a single
Joan is 5 years older than ellen, and 3 years ago the sum of their ages was 17 years. in how many years will joan be 21 years old?
Lisa’s test grades are 79, 89, and 90. There will be one more test this year. If Lisa wants her test average to be at least 88, what is the lowest grade she can
30. Chronic alcohol abuse damages T-cells, white blood cells, natural killer cells, and __________, all important components of the immune system. A. acetaldehy
I just need help with the equation part since when I keep doing I get the wrong answer.
Find the missing length indicated
What is the distance between 407 squared and negative 68 squared
What are the points of discontinuity? Are they all removable? Please show your work.
Which is the best way to conserve worldwide freshwater resources? 1.increase the amount of land used to raise cattle 2.use more efficient irrigation technique
define intrinsic motivation