Get Array Input Python Code For Snake