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

How did Otto von Bismarck influence the Meiji Restoration?
which is a perceptual region ?
Jess observed that 60% of the people at a mall on a particular day shopped for clothes. If 2500 people at the mall did not shop for clothes that day, the number
The president’s closest advisors within the executive office of the president work in _____.
How do you become like an author?
A cracker crushed in water will test positive with iodine but negative with benedict’s solution. A cracker crushed in water has another chemical called amylase
simplify the square root of 3 times the square root of 15
What is the difference between -4.5 and 3.5 ?
Our repeated Petitions have been answered only by by repeated injury means what?
water is composed of two atoms of ____ and one of oxygen. question 2 options: carbon silicon nitrogen hydrogen