Wednesday, 11 September 2013

for and not statements

for and not statements

How do you use not in forstatement?
If you can't do that is there another way around?
Here is an example, but doesn't work:
def 123():
# objects could be a file
# list could be another file
for not objects in list:
pass
else:
pass

No comments:

Post a Comment