问题描述
我尝试导入“数学”模块,但没有成功。 谁能给我解决这个问题的方法?
我的代码:
import math
G = 6.67408 * (10**-11)
# mass of first person
m1 = float(input("First mass: "))
# mass of first person
m2 = float(input("Second mass: "))
# distance
d = float(input("distance: "))
force = (G*m1*m2)/(d**2)
print(force,"N")
# here round is not working
print("The gravitational force is:",round(force,5),"N")
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)