Skip to Content

Lists are Python’s most flexible ordered collection object type. Unlike strings, lists can contain any sort of object: numbers, strings, and even other lists.  Lists may be changed in place by assignment to offsets and slices, list method calls, deletion statements, and more—they are mutable objects. Python List Sort method The best way to sort …

Read More about 10 Ways to Sort List in Python

In this article, we will cover how to check the python version in 3 ways. 3 Ways to check Python Version Commands Example Output python3 –version or python3 -V or python3 -VV Python 3.7.2 import sys sys.version 3.7.2 (tags/v3.7.2: 9a3ffc0492, Dec 23 2018, 23:09:28)[MSC v.1916 64 bit (AMD64)]’ sys.version_info sys.version_ info (major= 3, minor= 7, …

Read More about 3 Ways to check Python 3 Version