Lambda Use In Python Code For Snake