Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Create a function that accepts a string and returns the same string reversed.
- def string_reverse():
- word = str(input('Please enter your word: '))
- word=(word[::-1])
- return(word)
- print(string_reverse())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement