Difference between Python 3 and 2


Hi. I was wondering what is Python 3 and 2. Is it a complier or a language. Why have two different types and what are there advantages and disadvantages. Thank you.


python3 is the successor of python2, but not backward compatible (python2 won't run in python3 and vice versa (small programs maybe an exception))

if you are planning to build new applications, pick python3. Python2 will at certain point be no longer supported, and the differences aren't that huge


Thank you very much.