aboutsummaryrefslogtreecommitdiff
path: root/challenge-096/abigail/python/ch-1.py
blob: ddc34e2633a17d7eacc90363fc3c9e6c12880768 (plain)
1
2
3
4
5
6
import fileinput

for line in fileinput . input ():
    words = line . strip () . split ()
    words . reverse ()
    print (" " . join (words))