Can you find a way to print out the reversed copy of the string s using slicing? code example
Example 1: python reverse string
'String'[::-1] #-> 'gnirtS'
Example 2: reverse string in python
'hello world'[::-1]
'dlrow olleh'
'String'[::-1] #-> 'gnirtS'
'hello world'[::-1]
'dlrow olleh'