Why can't I assign python's print to a variable?

Viewed 1706

I'm learning to program and I am using Python to start. In there, I see that I can do something like this:

>>>> def myFunction(): return 1
>>>> test = myFunction
>>>> test()
1

However, if I try and do the same with print it fails:

>>>> test2 = print
File "<stdin>", line 1
  test2 = print
              ^
SyntaxError: invalid syntax

Why is print different than a function I create? This is using Python v2.7.5.

2 Answers
Related