如何修复 Python 中的此属性错误?

问题描述 投票:0回答:1

this is my code this is the error

这是作业:

对于此作业,您将获得两个复数。您将打印它们的加法、减法、乘法、除法和模运算的结果。实部和虚部精度部分应精确到小数点后两位。

python attributes
1个回答
0
投票
map(int, input(....).split())

兄弟,你必须将输入转换为 int 而不是 float

© www.soinside.com 2019 - 2024. All rights reserved.