Get Array Input Value Python Code For Snake Games