defsquare_me(x):y=x**2returnyprint(square_me(input()))结果运行不了raceback(mostrecentcalllast):File"D:\WingIDE1014.1\src\debug\tserver\_sandbox.py",line8,inFile"D:\WingID...
def square_me(x):
y=x**2
return y
print(square_me(input()))结果运行不了
raceback (most recent call last):
File "D:\Wing IDE 101 4.1\src\debug\tserver\_sandbox.py", line 8, inFile "D:\Wing IDE 101 4.1\src\debug\tserver\_sandbox.py", line 5, in square_me
builtins.TypeError: unsupported operand type(s) for ** or pow(): 'str' and 'int'
为什么啊??
展开