Know about the version of python in your system whether it be Windows, Mac, or Linux/Ubuntu, using the following simple commands.
- Open Command line(in Windows), Shell(in Mac), terminal (in Linux/Ubuntu) in your system.
- Type any of these commands. They will work in all systems.
- python –version
- python -V
- python -VV