# Write a Python program to swap two elements in a list # Python3 program to swap elements# at given positions# Swap functiondef swapPositions(list, pos1, pos2):         list[pos1], list[pos2] = list[pos2], list[pos1]    return list# Driver functionList = [23, 65, 19, 90]pos1, pos2  = 1, 3print(swapPositions(List, pos1-1, pos2-1))