Python User Input Functions
function is used to take input from the user. It always returns the input as a string, regardless of what the user enters.
input()
function is similar to input() in Python 3.x. It reads a line from input, converts it to a string, and returns it. It doesn’t try to evaluate the input, making it safer for general use.
raw_input()
To add an item to the end of the list
append()
To insert a list item at a specified index
insert()
To append elements from another list to the current list, use the
extend()
method removes the specified item.
remove()
method removes the specified index.
pop()