Adding and removing in the list
Given both a list and input, remove the first element of the list and insert the input to the end of the list.
Sample Code:
def addRmv(l,el):
# Enter your logic here...
Examples:
Input: [1,2,3],4
Output: [2,3,4]
Explanation: 4 has been added to the end of the list and 1 has been removed.
Input: [' ',True,100],[0,1]
Output: [True,100,[0,1]]
Explanation: [0,1] has been added to the end of the list and ' ' has been removed.