标签: python
预期的行为是在{29}遇到2949时打印2949 is the magic number!,但循环不会。循环似乎从19开始,然后跳到513920 - 这是为什么?
2949 is the magic number!
magicNumber = 2949 for x in range(0, 100000000): if (x is magicNumber): print(x, "is the magic number!")