Answered! Chapter 10 Page #349 Problem 10.2 (Reverse the numbers entered) NOTE: If you use the function list 1.reverse0 you…

 

Chapter 10 Page #349 Problem 10.2 (Reverse the numbers entered) NOTE: If you use the function list 1.reverse0 you will get 0 points for this assignment Maximum Points: 15 Expected output: Enter integers between 1 and 100: 2 88 6 15 4 48 3 12 599 Reversed list is 99 5 12 3 48 4 15 6 88 2 Take screenshot of the script and the output Submit the script and the screenshot n the first few lines, please include Created by Your name Assignment name description Date
media%2F94c%2F94cf899c-7d93-410c-b614-f8
Please help me write an exact code in PYTHON, after that print a screenshot when it works perfect. Thanks
Note: the second picture is “chapter 10, page #349, problem 10.2”

Chapter 10 Page #349 Problem 10.2 (Reverse the numbers entered) NOTE: If you use the function list 1.reverse0 you will get 0 points for this assignment Maximum Points: 15 Expected output: Enter integers between 1 and 100: 2 88 6 15 4 48 3 12 599 Reversed list is 99 5 12 3 48 4 15 6 88 2 Take screenshot of the script and the output Submit the script and the screenshot n the first few lines, please include Created by Your name Assignment name description Date

Expert Answer

 #take the input from the user using ;input’ function and split the input using ‘split’ and store the input in list

a = input(“Enter integers between 1 and 100 : “).split()

#use for loop to print the elements of the list in reversed order
print(“Reversed list is: “,end=’ ‘)

for i in range(len(a)):
print (a[len(a)-i-1],end=’ ‘),

OUTPUT:-

Still stressed from student homework?
Get quality assistance from academic writers!