Given an input, How do I convert to ouput: List to Tupled numbers in Python 2/3
Input:
[1, 2, 3, 4, 5, 6]
Output:
[(1, 2), (3, 4), (5, 6)]
Given an input, How do I convert to ouput: List to Tupled numbers in Python 2/3
Input:
[1, 2, 3, 4, 5, 6]
Output:
[(1, 2), (3, 4), (5, 6)]