Use Index To Return An Array In Python