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

Explain why the reflection of light off ground glass changes from diffuse to specular if you spill water on it
what is 30% of ( ) equals 60, find the missing number. ALso if possible please provide your strategy for finding this awnser so I can use it in the future, i
Angela earns x dollars an hour. On Friday, she worked 6 hours. On Saturday, she worked 8 hours. Which expression shows how much she earned both days ? A. 6x +
What is the synonym for discussion
Why don't scientists use common names to identify organisms?
8. Which statement best describes the Richter scale? A. It's named after a scientist who studied tornadoes. B. It's a numerical rating system that measures
if 3ax+b+c, then x equals?
Jill sold half of her comic books and then bought sixteen more. She now has 36. With how many did she begin with?
How might Congressman Steve King respond to "Brutus'" statements on natural rights?
How do you use area on funny looking shape