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 number has the same digit in it's hundreds place and it's hundredths place. How many times greater is the value of the digit in the hundredths place than the
Which classification best describes the relationship between <2 and <4?
can some one help me im in a middle of an very important prodigy battle and i really need help
Can you tell me which one goes where
which scientists was the first to discover that plants gain their mass from water?
Which sentence from "Elon Musk" best supports the inference that he thinks about the big picture? O Then, he designed his own video game. O He wanted to affect
Aiden has $100 in a savings account that earns 10% annually.The interest is not compounded. How much will he have in 1 year?
. Why did sonnets become popular
Help me pls thanks so much
Can someone help me please !!!