I am new in python.
>>>li=["a","b","c"]
>>>li.reverse()
>>>li
['c', 'b', 'a']
How we got an idea that we have to call function like this li.reverse() not like this reverse(li).
Similarly on other function
sorted(li,reverse=True)
['c', 'b', 'a']
Here Why we can't call it li.sorted(reverse=True)?