aboutsummaryrefslogtreecommitdiff
path: root/challenge-002/abigail/python/ch-1.py
blob: 0c7d4ebe5da6204f5fbb24aafcc54f336e6f97bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/opt/local/bin/python

#
# See https://theweeklychallenge.org/blog/perl-weekly-challenge-002
#

#
# Run as: python ch-1.py < input-file
#

import fileinput

for line in fileinput . input ():
    print (int (line))