I want to convert list = [1,4,2,3,0] to list_tup = [(1,4),(4,2),(2,3),(3,0)]. You can see my code below but it outputs [(1,4),(2,3)].
list = [1,4,2,3,0]
list_tup = [(1,4),(4,2),(2,3),(3,0)]
[(1,4),(2,3)]