Function Declaration And Definition In Python Code For Snake