Python函数一般[关闭]

问题描述 投票:-5回答:1

How do I fix this error?! I'm not sure what to change about it. I tried to remove using float but its not working?

python function typeerror
1个回答
1
投票

改变这个

mag_number =  10**(1.5(magnitude1-magnitude2))

对此,

mag_number =  10**(1.5*(magnitude1-magnitude2))
© www.soinside.com 2019 - 2024. All rights reserved.