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

Hoose the best option to complete the statement. The purpose of the first phrase of the U.S. Constitution, "We the people," is to demonstrate the power of the p
Which character is one of the Greeks in the Iliad? a. Priam b. Hector c. Atalanta d. Ajax
What is K squared minus 11
Which of the following was a common factor to most of the African kingdoms by the 12th century? High levels of poverty Adoption of a major religion Little cultu
Which sentence is in the passive voice? a. Fossils have been found by the local science club. b. A helicopter flew just above the tower. c. Spectators are alre
Adrian jogs 3\4 mile each morning.How many days will it take him to jog 3 miles? Plz help
You arrive at an intersection with traffic lights that are not working because of a power outage
Which sentence includes a linking verb? (1 point) • Maria's mother called the doctor. • She seems worried. • Maria ate some soup. • The doctor will arrive s
what times what equals 64
What is kyphosis and how do you get it?