Difference between Python 2 and 3?

What’s the difference between Python 2 and 3? I’m a new coder and I was just wondering.

Hello @nzeadibenwabara78312, welcome to the forums! They’re both just versions of Python, with 3 being the new version. Two stark differences include Python 3’s usage of print() as a function (so print "hi" isn’t valid Python 3 code), and Python 3 uses input() instead of raw_input(). There are some other important differences, but this article does a much better job of explaining than I could.