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

The particles in which sample of LiCl(s) have the same average kinetic energy as the particles in a 2.0-mole sample of H2O(l) at 25°C? (1) 1.0 mol at 75°C (2) 2
what effect did Constantine's movement of the Roman capital have
two adjectives or descriptive phrases of James Madison
Prior to 1947, the Indian National Congress and the Muslim League worked together seeking to end (1) nonviolence (3) foreign rule (2) religious diversity (4) no
Overpopulation can lead to limited
what is the definition of states of matter
A plant using the sun the grow leaves, this is an example of A. photosynthesis. B. ecosystem. C. plant succession. D. evolution.
the number of baseball games bernie won this year was 25% less than the number of games he won last year. of bernie won 24 baseball games last year, how many ga
What country did Japan defeat in its FIRST foreign war during the Meiji period?
what is the definition of momentum