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

this is physics practical
Five more than twice a number is three. Write that in equation
Describe the transformation in the given image. 1 2. Rotation 3 Dilation Reflection 4 Translation
6. Ideal measure of Central tendency and dispersion are: a. Mean and mean deviation b. Median and quartile deviation c. Median and standard deviation d. Mean an
An arc subtends an angle of 72 degrees at the centre of the circle find the length of the arc of the radius of the circle is 3.5cm take pie as 22 on 7
why is the demand of drinking water increasing in Nepal?​
PLEASE HELP!!! Sketch the graphs: y=|x-1|+2 y=|x-1|-2
Line, balance, and pattern are three examples of formal properties. True or false
Anyone know the answer
2(-n - 3) - 7(5+ 2n)