Php Get First Item In Array Python Methods On Tuples Vs List