## Expected Result ```python >>> range(10) range(0, 10) >>> range(10) == range(10) True >>> str(range(10)) 'range(0, 10)' ``` ## Actual Result ```python >>> range(10) <range instance at 0xc0002c8380> >>> range(10) == range(10) Traceback (most recent call last): File "<stdin>", line 1, in <module> FIXME line of source goes here TypeError: "unsupported operand type(s) for ==: 'range' and 'range'" >>> str(range(10)) '<range instance at 0xc0002c8c60>' ``` The `__repr__`, `__str__`, `__eq__`, and `__ne__` functions of the `range` object are not implemented.
Activity
HyeockJinKim commentedon Sep 20, 2019
Can I try this issue?
corona10 commentedon Sep 20, 2019
Yes please
Add __repr__, __str__ of range
Add __repr__, __str__ of range
Add __repr__, __str__ of range
Implement range object (#87)