diff --git a/src/cartelas.py b/src/cartelas.py index 417423d..dbf0473 100644 --- a/src/cartelas.py +++ b/src/cartelas.py @@ -64,7 +64,7 @@ def maketable(elemento_inicial, lista): playerselect[3] = SELECTED["player"] elif elemento_inicial == "": - random = aleatorio(1, 5) + random = aleatorio(1, 50) randomparaarquivo = random - 1 print(f""" *************************************************** @@ -73,6 +73,12 @@ def maketable(elemento_inicial, lista): """ ) + for i in range(4): + if random in lista[i]: + elemento = (lista[i].index(random)) + lista[i][elemento] = f'*{lista[i][elemento]}*' + + elif elemento_inicial != "1" or elemento_inicial != "2" or elemento_inicial != "3" or elemento_inicial != "4" or elemento_inicial != "": playerselect[0] = SELECTED["notplayer"] playerselect[1] = SELECTED["notplayer"]