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.
Answer:
is this a question or not?
Answer:

Explanation:
d(x) = -2x - 6
to find the inverse of a function, you need to follow these steps:
1. set d(x) = y
2. interchange the variables, so y becomes x and x becomes y
3. solve the equation for y
<u>step 1:</u> set d(x) = y
y = -2x -6
<u>step 2:</u> interchanging the variables
y = -2x - 6 turns into x = -2y - 6
<u>step 3:</u> solving for y
x = -2y - 6 < add 6 to both sides to get rid of it on the right
x + 6 = -2y < divide both sides by -2 to get y alone
x + 6 / -2 = 
-2y / -2 = y
= y
so the inverse of the function is 
Answer:
I said CLI.
Explanation:
''A command-line interface (CLI) processes commands to a computer program in the form of lines of text.''- Wikipedia
Answer:
1. Classes and objects
2. Inheritance
3. Polymorphism
4. Data hiding/ encapsulation
5. Interfaces.
Explanation:
Classes and objects depict the major component of the OOP (object oriented programming). It explains the object like a ball in a soccer game development.
The inheritance is like the subclass of the object. Data hiding is a stage in oop where the codes or data are hidden from another users.
In the polymorphism stage, the object is given the ability to change to a sub-object, while in the interface stage a function or method signature is defined without implementing it.