How To Iterate Through An Array In Python