Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def combinacao(m1,m2):
- if nrl(m1)=="0" or nrl(m2)=="0":
- print ("combinacao impossivel na molecula")
- elif nrl(m1)==1 and nrl(m2)==1:
- return [molecula (nlig(m1)+nlig(m2)+1,"0")]
- elif nrl(m1)==1 and nrl(m2)==2 or nrl(m1)==2 and nrl(m2)==1:
- return [molecula(nlig(m1)+nlig(m2)+1,1)]
- elif nrl(m1)==2 and nrl(m2)==2:
- return [molecula (nlig(m1)+nlig(m2)+1,2)]
Add Comment
Please, Sign In to add comment