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 restaurant buys 56 pounds of beef at $1.12/pound and 24 quarts of milk at $.90/quart. How much money was spent?​
In his work Divine Comedy, the 14-century Italian poet Dante described a trip into space. As he traveled away from Earth, he visited the following celestial bod
Information transfer on students of success​
In a county commissioner form of government, the state government has:
The area of a circle is 4π cm². What is the circumference, in centimeters? Express your answer in terms of \piπ.
A 150g copper bowl contains 220g of water, both at 20.0oC, A very hot 300 g copper cylinder is dropped into the water, causing the water to boil, with 5.00 g be
Use the following to answer question 22: Fleeting Moscow Nights currently manufactures vodka as its main product. The costs per unit are as follows: Direct mate
1. Write any four differences between the concept of development a region and the concept of federalism​
Write x2 − 2x − 3 = 0 in the form (x − a)2 = b, where a and b are integers. (1 point) (x − 4)2 = 3 (x − 3)2 = 2 (x − 2)2 = 1 (x − 1)2 = 4
What is a Bivalents in biology ​