Answer:
li=list(map(str,input().strip().split()))#taking input of the string.
#swapping first and last element.
temp=li[0]
li[0]=li[-1]
li[-1]=temp
print(li)#printing the list.
Explanation:
I have taken the list li for taking the input of strings.Then after that swapping first and last element of the list.Then printing the list.
The value on X you choose first and create a graph then you add values to graphs Y axis.
What are the options and if it's meaning like when you save something it has .pdf .jpg or .doc after the title then it would be ".doc"