Snake in Python