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

why do the mediterranean sea and the red sea have more salt than the baltic sea
Cell membranes are mainly composed of 2 layers of ______________.
What should you ask yourself when analyzing word choice?
what does putrid means
How is it possible to have thousands of different proteins when there are only 20 different amino acids
$299 for 4 tires this is unit rate i don't get this please help me
12. What were the results of Japan’s growing imperialism at the end of the 19th century?
What is a syllogism? A)a play written by Sophocles B)a logical sequence created by Aristotle C)a proposition that is valid D)a system of thought analysis
Marcy is running for student body president. Which sentence in this excerpt from her campaign speech uses parallel structure? Hi, I’m Marcy! Many of you know m
Why did some people support Alien and Sedition Act event?