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

Which plants traps bugs in its stem and forces them to walk forward
what is input, conversion process, and output
what is the answer this question?
WHAT ARE THE EXCLUDED VALUES?
what position did the us take during the Indochina wars
T varies inversely with the cube of W. When W is 3, T is 1/9. Find the value of W when T is 1/243
what’s the word for these definitions
Which social class is quickly disappearing from modern economies? upper class the amount of people in each class has been about the same for the past 10 years m
When kristen began to smoke, she only had 3-5 cigarettes. now, for her to feel in control during the day, she has to smoke 18 cigarettes. what is she experienci
Which of the following concerns during the World War II era do these propaganda posters from Great Britain and the United States have in common? A. They both re