FIXED4 Maths Guessing Game 3IN1 by twobit

l=id(7)%3
R=raw_input
exec(3+l*l)%6*'i=R();print"value of",i[0],"is now"+i[2:];'
print
R()
exec'i=R();print"set rule of",i[5],"to",i[5]+"="+i[8:];'*3
print l%2*"rule d not set\n"
print["a = 3\nyou win!","b = 13\nyou lose!\na wins!","c = 1\ntie!"][l]

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top