diff options
Diffstat (limited to 'progs/a3.py')
-rw-r--r-- | progs/a3.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/a3.py b/progs/a3.py new file mode 100644 index 0000000..3938b7a --- /dev/null +++ b/progs/a3.py @@ -0,0 +1,2 @@ +def reverse_words(s):
+ return ' '.join(reversed(s.split()))
\ No newline at end of file |