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-26 00:08:52 +08:00
C = libs.P_C.S_N_M(A, B)
D = libs.P_C.S_N_D(A, B)
E = libs.P_C.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)