list.sort (key=None, reverse=False) Sort the items of the list in place (the arguments can be used for sort customization, see sorted() for their explanation). list.reverse Reverse the elements of the list in place. list.copy Return a shallow copy of the
A function is a set of statements that take inputs, do some specific computation and produces output. The idea is to put some commonly or repeatedly done task together and make a function, so that instead of writing the same code again and again for diffe
Python dictionary is an unordered collection of items. Each item of a dictionary has a key/value pair.. Dictionaries are optimized to retrieve values when the key is known.
Post a Comment:
Showing 0 Comments: