From 64ca40e3a2f77adb872900d386b6bfeaf3583960 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Thu, 4 May 2017 15:17:35 +0200 Subject: Modified some files --- python/scommesse.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/scommesse.py') diff --git a/python/scommesse.py b/python/scommesse.py index b947df1..f65c04f 100644 --- a/python/scommesse.py +++ b/python/scommesse.py @@ -4,8 +4,8 @@ carteOut = [] def cOutPresente(x): s = False - for i in range(len(carteOut)): - if (carteOut[i] == x): + for i in carteOut: + if i == x: s = True if not s: -- cgit v1.2.3-18-g5258