Skip to content

Instantly share code, notes, and snippets.

@nsfyn55
Created May 30, 2014 00:40
Show Gist options
  • Save nsfyn55/a8f2406ef8e8fd23b9e3 to your computer and use it in GitHub Desktop.
Save nsfyn55/a8f2406ef8e8fd23b9e3 to your computer and use it in GitHub Desktop.
One liner find curved numbers
print [for num in ['33','14','96'] if set(num).intersection(set(['0','2','3','5','6','8','9']))]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment