Created
December 5, 2018 11:18
-
-
Save mfirry/fdc38abadcc574635419bb4898d5ee02 to your computer and use it in GitHub Desktop.
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 | |
# -*- coding: UTF-8 -*- | |
from __future__ import print_function, absolute_import, unicode_literals, division | |
with open ("input.txt") as f: | |
xs = f.read().strip().split("\n") | |
vals = [int(x) for x in xs] | |
vals |> sum |> print |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment