Syntax Error While Parsing Array In Python Geeksforgeeks