Skip to content

Instantly share code, notes, and snippets.

@013231
Last active December 11, 2015 02:29
Show Gist options
  • Save 013231/4531249 to your computer and use it in GitHub Desktop.
Save 013231/4531249 to your computer and use it in GitHub Desktop.
def startsWith1(x):
return x in lst
startsWith1.lst = set(10 ** i for i in range(20))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment