DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python reverse words in string
def reverse(st): s = st.split() return ' '.join(s[::-1])
PREVIOUS
NEXT
Tagged:
#python
#reverse
#words
#string
ADD COMMENT
Topic
COMMENT
Name
2+6 =
Submit