Python has an elegant way of representing them using enum. ... __value = self.rank def __lt__(self, other): return self.__value < other.
確定! 回上一頁