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

A 25.0 kg child on a swing kicks upward on the downswing thus changing the distance from the pivot point to her centre of gravity from 2.40 m to 2.28 m. What i
How many feet is this please help
What do all viruses need to reproduce?
What Countries Have limited and unlimited governments?
Explain the role of energy in changes of state.
A lizard accelerates from 2 m/s to 10m/s in 4 seconds. What is the lizard’s acceleration?
The digit in the tens place of a two digit number is three times that in the units place. If the digits are reversed the new number will be 36 less than the ori
A resistance of  10ohm is bent in the form of a closed cirle. What is the effective resistance between the two pints of any diameter of this circle?
accurate estimation of 96-38 a 45 b.50 c.55 d.60
Explain the role of energy in changes of state.