There are many ways to check the version of Python that you have installed I am mentioning here some of the easiest methods:-
The first thing you can do is write the below-mentioned command which will tell you the Python version that you have installed:-
python -V
If you want to use the Python IDE then you can use the following piece of code:-
import sys
print(sys.version)
