Question: please give the correct answer in python. i will definitely give a thumbsup Write a program that reads a list of integers from input and

Write a program that reads a list of integers from input and outputs the list with the first and last numbers swapped Ex If the input is 12345678 the output is: 82345671 For coding simplicity, follow every output value by a space, including the last one The output ends with a newline. n or coding simplicity, follow every output value by a space, including the last one. The output ends with a newline. main.py Load default temp Run your program as often as you'd like, before submitting for grading. Below, type any nee input values in the first box, then click Run program and observe the program's output in the second box
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
