get array values in python,"[(1, 3), (3, 4), (4, None)]"