So I just started learning Python. In my book it was given that print()
is a function in Python 3.x whereas it is a statement in Python 2.x
What exactly is the difference between a statement and a function?
Note - I am a beginner and excuse me if this seems too silly.
PS - I saw this answer but I couldn't understand it. Elaborating it would be appreciated.