What is the output of print('Programming'[::-1]) in Python?
print('Programming'[::-1])
Correct answer
A. gnimmargorP
6 views
A. gnimmargorP
6 views
Reversing a longer word.
Asked in: Python Interview Strings
https://docs.python.org/3/library/stdtypes.html#string-methodsNot sure why the answer is A? Ask here and get an explanation.