The way we can compare the objects of class int, str, by using the comparison operators , in this session we will understand how to make things work in our custom class. So the comparison operators can be used to compare objects of our custom class. Once you understand the concept, you can do wonders.