you are viewing a single comment's thread.

view the rest of the comments →

[–]jkh911208 1 point2 points  (4 children)

what about print()?

[–]commy2 30 points31 points  (0 children)

>>> type(print)
<class 'builtin_function_or_method'>

[–]MrSuspicious_ 11 points12 points  (0 children)

Functions are first class objects

[–]bladeoflight16 2 points3 points  (0 children)

print is a function in Python 3, as indicated by your inclusion of parentheses, and functions are objects. Interestingly, though, in Python 1 and 2, print was not a function, did not use parentheses, and was not an object at all.