Practice probelms

  1. Swap the first element with (n-1)th element of the list, create a list from the user input

  2. Usage of Operand, * → using operand function displays the output in the below format:

input: list =[1, 2 , 3, 4 ]
o/p: 1
[2, 3]
4