This is the code in question:
#i/p from user print "enter your number" a=sys.stdin.readline() if(a==6): print('entered a 6!') else: print('you did not enter a 6') If I enter 6, it is supposed to return entered a 6!,but it is returning you did not enter a 6.
Why is this happening?