On 14 Jun 2013 09:09, "Nick the Gr33k" <supp...@superhost.gr> wrote: > >>> print(name and month and year) > ijkl > > Seems here is returning the last string out of 3 strings, but have no clue why Python doing this. >
You have been told this above. All languages kind of do that. Ever seen this command on a shell? mkdir directory && cd directory The shell evaluated the first and if that was truthy it went on to evaluate the second and return that. Now. You've been told countless times that you won't get anything from "not in (a and b and c)", nor from "not in (a or b or c)". Also you have been shown this link and I feel you really need to read it. http://slash7.com/2006/12/22/vampires/ Cheers
-- http://mail.python.org/mailman/listinfo/python-list