diff options
Diffstat (limited to 'comp/work/13/reverse_words.py')
-rwxr-xr-x | comp/work/13/reverse_words.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/comp/work/13/reverse_words.py b/comp/work/13/reverse_words.py new file mode 100755 index 0000000..974ae4d --- /dev/null +++ b/comp/work/13/reverse_words.py @@ -0,0 +1,6 @@ +def reverse_words(words): + words.split(" ") + output = [] + for i in words: + + |