It's recommended today that you learn and use Python 3.
However you may still come across Python too.
One of the most basic differences between Python 2 and Python 3 is that print is a function in Python
3.
Notice as an example I can type.
Print Hello in python 2 and that works.
So notice it worked.
But if I type Python 3 and type of print Hello it fails.
I need to put that inside of brackets.
Notice we told that the parentheses are missing.
So print Hello that works.
So in Python 3 this is a function that's something that often traps people up when they work on Python
2 and then moved to Python 3.
So again the recommendation today is that you learn Python 3 but you may come across Python 2 as an
example.
If you using on box python on some Cisco devices you may still need to use Python 2 not 7.
You may come across legacy code that uses Python 2 not 7.
So learn Python 3 today if you need to it but be aware you may encounter Python 2 not 7 in the real
world.