Difficult-Rocket/test.py

21 lines
338 B
Python
Raw Normal View History

2020-12-21 22:48:43 +08:00
"""
writen by shenjackyuanjie
mail: 3695888@qq.com
"""
import libs
A = [2.573, 3, ["m", "kg"], ["N", "s"]]
B = [0.245, -7, ["N", "kg"], ["m", "s"]]
print("A = " , A)
print("B = " , B)
2020-12-22 19:27:59 +08:00
C = libs.S_D.S_N_M(A, B)
D = libs.S_D.S_N_D(A, B)
E = libs.S_D.S_N_D(C, B)
2020-12-22 06:36:02 +08:00
2020-12-21 22:48:43 +08:00
print("A × B = " , C)
print("A ÷ B = " , D)
2020-12-22 06:12:38 +08:00
print("A × B ÷ B = " , E)