mac check python version code example
Example 1: check python version mac
python3 --version
python --version
Example 2: how to check python version
python --version
import sys
print(sys.version)
Example 3: terminal python version
$ python --version
$ python3 --version
Example 4: how to check python version
python --version
Example 5: how to check if python is installed on mac
Hi this is way simple..
Open terminal on your mac
Then type python - - version
If its give an error that means there is no python installed if it gives you the version number then python is installed..
Any by default python comes installed but the answer was just to make sure you do understand..
Good luck with learning python.. If you need any more with hacking and python let me know i have a YouTube channel just specifically for helping people getting started with hacking and. programming..
Example 6: how to know the version of python
Step 1: Type Command Prompt on search icon near the windows icon
Step 2: On Command Prompt Execute the below command
Step 3: python --version