Installing Python in MacOS

I installed latest version of python but on typing python it still runs python 2.7.0 version but on typing python3 it runs the latest, how can i change the default python as latest version of python

@Ak07, yes it doesn’t have any impact as still python 2.7.0 is used at some places and that’s why in the systems for python we need to specifically enter python3 for using it. For configuring it to the default version, you can check this out https://stackoverflow.com/questions/23048756/how-can-i-make-the-python-command-in-terminal-run-python3-instead-of-python2/37540165#:~:text=bashrc%20alias%20python%3Dpython3%20Restart,should%20start%20instead%20of%20python2.
I hope it will help you out. In case of any other confusion, pls let me know.
Thanks :slight_smile: