Python 2.7.12 (default, Jul 27 2016, 16:11:41)
[GCC 5.4.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> type(print)
File "<stdin>", line 1
type(print)
^
SyntaxError: invalid syntax
>>>
pythonではすべてがオブジェクトですが、上記のエラーが発生するのはなぜですか?Pythonで 'print'の種類は何ですか?
あなたはPython 3です。OPはPython 2.7.12を使用しています。 –