Logical Shift Left Python Code For Snakes