proper loop syntax?

Bart bvdeenen at access-four-all.nl.invalid
Tue Aug 12 03:17:38 EDT 2003


Hi

I tried to run your code snippet, and it didn't work right away. One of the 
problems might be that license() is actually a builtin function!

Furthermore, how about making all the ifs into

if y=='x':
        license_char = "5Po *"[t]
elif y=="a" or y=="S"
        license_char = "7Gf*u"[t]


GOT it. you typed y=='a' or 'S' and it should be as shown above




Best regards

Bart van Deenen




More information about the Python-list mailing list