Mr-76 / tabelaperiodica

Consider using in PYL-R1714
Performance
Major
a year agoa year old
Consider merging these comparisons with 'in' by using 'coluna in (7, 8, 9)'. Use a set instead if elements are hashable.
27        
28    else:
29        familia = "B"
30        if coluna == 7 or coluna == 8 or coluna == 9:31            coluna = 7
32        elif coluna == 10:
33            coluna = 0