分享至
print在python3開始被改變為function,在此之前的版本為statement
function
statement
若要在python2.6, 2.7使用print function
from __future__ import print_function print(print) # <built-in function print>
IT邦幫忙