RecursionError: maximum recursion depth exceeded in comparison3 code example Example: recursionerror maximum recursion depth sys.setrecursionlimit(1500)