how to know python version in mac code example

Example 1: terminal python version

# in python
$ python --version

# in python3
$ python3 --version

Example 2: 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..