I need help for Boolean expressions. When someone inputs (x or y), (x and y),etc..... It gives a truth table. I have everything except when I try do int((m)) on the line it gives me an error.
m = raw_input("Give an expression :")
list=[(0,0),(0,1),(1,0),(1,1)]
for (x,y) in list:
print[ x, y ],int(m)