aboutsummaryrefslogtreecommitdiff
path: root/challenge-096/abigail/python/ch-1.py
diff options
context:
space:
mode:
Diffstat (limited to 'challenge-096/abigail/python/ch-1.py')
-rw-r--r--challenge-096/abigail/python/ch-1.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/challenge-096/abigail/python/ch-1.py b/challenge-096/abigail/python/ch-1.py
new file mode 100644
index 0000000000..ddc34e2633
--- /dev/null
+++ b/challenge-096/abigail/python/ch-1.py
@@ -0,0 +1,6 @@
+import fileinput
+
+for line in fileinput . input ():
+ words = line . strip () . split ()
+ words . reverse ()
+ print (" " . join (words))