Вот почему вы не должны вызывать свою собственную функцию print
Python 3.2 (r32:88445, Dec 8 2011, 15:26:51)
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> help(print)
Help on built-in function print in module builtins:
print(...)
print(value, ..., sep=' ', end='\n', file=sys.stdout)
Prints the values to a stream, or to sys.stdout by default.
Optional keyword arguments:
file: a file-like object (stream); defaults to the current sys.stdout.
sep: string inserted between values, default a space.
end: string appended after the last value, default a newline.
>>> def print():
... print("foobar")
...
>>> help(print)
Help on function print in module __main__:
print()
>>>
упс, теперь вы перезаписали встроенную print
, поэтому вы больше не можете использовать ее для фактической печати материала