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 are the functions of receptors in our body? Think of a situation where receptors do not work properly. What problems are likely to arise?
What is the amplitude of y=1/2 sin2x
What is the least common denominator for 5/6 and 3/8. 3/4 and 6/7
how do you write 4540 million in standard form?
how were north american colonies all similar in the 1700s?
What were the major causes of WWII? Please include at least 4 answers.
Why is sodium sulphate hemihydrate called as "Plaster of Paris"?
what's another word for over thinking?
Why is sodium sulphate hemihydrate called as "Plaster of Paris"?
you have a standard deck of 52 cards. you pick one card and then, with out putting the first card back, you pick a second card. what is the probability that bot