This commit is contained in:
沈瑗杰 2020-12-22 06:22:26 +08:00
parent f62dccea4f
commit 3dc34abd8c

View File

@ -32,18 +32,13 @@ def P_C_M(A, B): # stand for Physics Calculation multiple
Unit2.append(unit) Unit2.append(unit)
if Unit1 == None: if Unit1 == None:
Unit1 = [] Unit1 = []
print(Unit1, Unit2)
for unit in Unit2: for unit in Unit2:
print(unit)
if unit in Unit1: if unit in Unit1:
Unit1.remove(unit) Unit1.remove(unit)
Unit2.remove(unit) Unit2.remove(unit)
print(unit)
else: else:
pass pass
print(Unit1, Unit2)
C = [Float, Int, Unit1, Unit2] C = [Float, Int, Unit1, Unit2]
print(C)
return C return C