Top: A horrifying cascade of hardcoded if-statements checking individual values from 457 to 463, alternating between returning True and False.
Bottom: The reason for this atrocity - a script that generates these if-statements by asking how many you need, then writing them to a file with alternating boolean returns.
And they say automation is supposed to make our lives better. This is the programming equivalent of using a CNC machine to carve "Live, Laugh, Love" signs.