Created
April 26, 2014 21:01
-
-
Save NotBobTheBuilder/11330986 to your computer and use it in GitHub Desktop.
palindrome_shell.py
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
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