def str2num(s): return int(s)
换成
def str2num(s): return float(s)
你这样输入的整数也变成浮点了
Sign in to make a reply
我思故我不存在
换成