Difficult-Rocket/test.py

21 lines
337 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"]]
2020-12-23 23:10:17 +08:00
B = [2.45, -7, ["N", "kg"], ["m", "s"]]
2020-12-21 22:48:43 +08:00
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)