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

is 9.23 greater than, less than or equal to 9.32
Question 1. The opposite of -4 is? A: 4  (picked this one)  B: _4 C: -(-(-4)) D: -|4| Question 2. The opposite of -10 is? A. -(-(-10)) B. -10 C. 10 (picked thi
what is 1/6 in decimal
sami ordered 132 dresses for her store .what is 132 rounded to the nearest ten?
Drusilla replaces the light bulb in the hall every 9 months and the air filter every 6 mont. she just replaced bot this month. After how many months will she re
what is the greatest common factor of 42 and 90 and 81
What does it mean to describe a scientist as skeptical? Why is skepticism considered a valuable quality in a scientist?
Right speech  · Right action  · Right effort  · Right mindfulness  · Right concentration  These are five of the eight most important aspects of what ideology
whats the prefix in the word unafraid
what is the greatest common factor of 42 and 90 and 81