|
|
发表于 2022-3-10 08:30:40
|
显示全部楼层
>>> a = input
>>> a
<built-in function input>
>>> print(a)
<built-in function input>
>>> b = int(a)
Traceback (most recent call last):
File "<pyshell#3>", line 1, in <module>
b = int(a)
TypeError: int() argument must be a string, a bytes-like object or a number, not 'builtin_function_or_method' |
|