Created
July 13, 2016 13:32
-
-
Save brandomr/2b0ab8fae381ef029f7472837f837ca5 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
def treat_number(i): | |
i = str(i) | |
i = i.replace('+','') | |
i = i.replace('-','') | |
#i = int(i) | |
if i[0] == '1' and len(i) == 11: | |
i = i[1:11] | |
return i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment