Commit bfb6641a authored by Giuseppe Lombardi's avatar Giuseppe Lombardi

Update tornelo.py

parent 96a75d88
......@@ -354,10 +354,10 @@ if(len(sys.argv) > 1): ## getting p
ranking = {'stabili': [], 'instabili': []}
for giocatore in torneo['RANKING']:
if (giocatore[-1]):
ranking['stabili'].append(el)
ranking['stabili'].append(giocatore[0:3])
else:
ranking['instabili'].append(el)
ranking['instabili'].append(giocatore[0:3])
ranking = ' ' + str(ranking['stabili']) + '\n == INSTABILI \n' + str(ranking['instabili'])
for char in caratteri_omessi:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment