Created
September 26, 2015 23:08
-
-
Save juanriaza/74d92cf838423f3bd459 to your computer and use it in GitHub Desktop.
Ejercicio Resuelto Awesome
This file contains hidden or 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
#!/usr/bin/env python | |
import re | |
import urllib.request | |
URL = "https://gist.githubusercontent.com/juanriaza/cafa48e8a6b87e805cb3/raw/a937cecf644ebbf0dd3f7d021e9879b26ac088e2/trash.txt" | |
print(sum(map(int, re.sub(r"\D", r"", urllib.request.urlopen(URL).read().decode())))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment