Difficult-Rocket/test.py

20 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"]]
B = [0.245, -7, ["N", "kg"], ["m", "s"]]
print("A = " , A)
print("B = " , B)
C = libs.P_C.P_C_M(A, B)
D = libs.P_C.P_C_D(A, B)
2020-12-22 06:12:38 +08:00
E = libs.P_C.P_C_D(C, B)
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)