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

Please help me with the test
12. Which type of balance does this artwork have? Radial Balance Symmetrical Balance This artwork is not balanced. Asymmetrical Balance
The labeling on this package of oatmeal shows that 32 ounces = 907 grams 10 ounces =?
After reading “Bridge to Terebithia” what did you enjoy most
How does it support Wiesel’s main idea about indifference ?
Write the equation used to solve for x x = ? AB = ?
what were the pharaohs tools of trade
What is the image of (−3,−8) after a dilation by a scale factor of 4 centered at the origin?
Calculate the lengths of the 2 unlabeled sides
Mia got 85% on her math quiz. she had 34 questions correct how many questions were on this quiz?