apparently & and and are not equivalent in python