Created
March 24, 2016 19:28
-
-
Save ryanwilsonperkin/39f9b996c16cc7d186f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
class ShittyList(list): | |
def __len__(self): | |
min, max = 0, super(ShittyList, self).__len__() | |
return random.randrange(min, max) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment