Skip to content

Instantly share code, notes, and snippets.

@NotBobTheBuilder
Created April 26, 2014 21:01
Show Gist options
  • Save NotBobTheBuilder/11330986 to your computer and use it in GitHub Desktop.
Save NotBobTheBuilder/11330986 to your computer and use it in GitHub Desktop.
palindrome_shell.py
from itertools import count
def is_palindrome(num):
return #Hmm, what could go here
total = 0
counted = 0
for i in count():
if counted >= 2000:
break
if is_palindrome(i):
#what do I need to do here?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment