How to check equality of two nos. in python<br>