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

Fill in the missing numbers: 8,18,11,15,5,4,149,19,1,7,17,6,16,?,?,?,?,? ALMOST IMPOSSIBLE!
(PLEASE HELP I NEED TO PASS,GIVING BRAINLIST)What was the purpose of Woodrow Wilson's Fourteen Points? O to help defend Germany's actions during the Great War O
If your target audience is parents, what should you do in your ad for maximum appeal
Four times a number added to 9 times the number is 65. What is the number?
WILL GIVE BRAINLIEST The table below shows the values of y for different values of x: x y 0 0 1 8 2 16 3 24 Which equation shows the relationship between x and
What scenes of death does steinbeck describe in the beginning of chapter 6 that parallel the events of the previous chapter and foreshadow the event to come?.
2. What two land masses were connected by the Beringia land bridge?
What was Ibn Sina's best-known book? The Canon of Medicine Hadith The Muqaddimah One Thousand and One Nights
Answer quick please answer 5 and 3!
Find the value of 4 2 + 6 ÷ 2. 7 11 19