root@rtos:/home/work/rtos# python Python 2.7.6 (default, Oct 26 2016, 20:30:19) [GCC 4.8.4] on linux2 Type "help", "copyright", "credits" or "license"for more information. >>> if 0: ... print("0 is True") ... else: ... print("0 is False") ... 0 is False >>> if -1: ... print("-1 is True") ... else: ... print("-1 is False") ... -1 is True