Last active
January 17, 2018 23:17
-
-
Save ysnerdem/6695d37c8243f4dbe7a7aa16c088fc44 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
lst = ["345","sadas","324a","14","kemal"] | |
for i in lst: | |
try: | |
i = int(i) | |
print(i) | |
except: | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment