gan!
This commit is contained in:
parent
f62dccea4f
commit
3dc34abd8c
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user