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

Which species in each pair is a better oxidizing agent under standard-state conditions? (a) br2 au3+ (b) h2 ag+ (c) cd2+ cr3+ (d) o2 in acidic media o2 in basic
Find the missing piece of each triangle?​
PLS HELP :''( Holiday HW is hard, will really appreciate it :") At the time when Sir Stamford Raffles came, there were less than one hundred small houses and h
5 pounds of birdseed cost $10.40. What is the price per ounce ?
Find the slope of the line through each pair of points. 11) (18,5),(-8, -15) onu nositi
Solve the following system by the elimination method.1/3x+y=0/3 and 1/6x+1/5y=9/10
4x +280 find the degree
Solve for x. 4x − 3/ 3 =7 Enter your answer in the box. x =
Which one of these is a gas NaNo3 KL KCL NH3
In 1983, a can of house paint cost $16.35. In 2000, a can of house paint cost $28.94, and in 2005, a can of house paint cost $32.54. What is the difference in C