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 was one root cause for slavery?
Chlorofluorocarbons have damaged _______ layer of Earths atmosphere
why did Einstein urge the president to authorize the Manhattan Project
Which of the following is a correct definition of the term armature? A. A type of resistant wire B. A type of dry cell battery C. A circuit diagram D. A small
Use the discriminant to find the number of real roots in Y = x^2 – 6x + 9
A drawer contains 2 red socks, 8 white socks, and 10 blue socks. Without looking, you draw out a sock and then draw a second sick WITHOUT RETURNING the first so
what is 7 over 20 as a percentage
Write one number that is a factor of 13
Who decides which currency each country in the world uses?
Which one of the following statements is accurate? A. Agriculture has been challenged by the use of selective breeding. B. Gymnosperms provide humans with