Ответсообщение недоступно
The "is" keyword is used to compare if two objects are the same. The interpreter is just warning you because there's no need to compare integers by their objects, since 1 will always be 1 irrespective of where it is used and no two different integers can be the same object.
So it's just asking you if you wanted to use the equality sign since that's what you should normally use to compare integers