DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
Reverse a String
sentence = "This is just a test" reversed = sentence[::-1] print(reversed)
Source by betterprogramming.pub #
PREVIOUS
NEXT
Tagged:
#Reverse
#String
ADD COMMENT
Topic
COMMENT
Name
2+8 =
Submit