Le 01/04/13 12:14, Ana Dionísio a écrit :
> for t in range(20):
>     if t == 4:
>         vt[t]=1
Sets only the needed values:

for t in range(4, 8):
    vt[t]=1



-- 
Vincent V.V.
Oqapy <https://launchpad.net/oqapy> . Qarte
<https://launchpad.net/qarte> . PaQager <https://launchpad.net/paqager>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to