What is the output of the following code ?
>>> s = [23, 56, 18 ,32] >>> s.reverse() >>> s
[23, 56, 18 ,32]
[56, 32, 23, 18]
[32, 18, 56, 23]
Error
s.reverse() reverses the items of s in place
Refer to https://www.pythoneasy.com/python-programming-tutorial/python-list-methods
Comment here: