Run ❯
Get your
own Python
server
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
class Person: def __init__(self, name, age): self.name = name self.age = age p1 = Person("Emil", 22) p2 = Person("Tobias", 19) print(p1 < p2)
Traceback (most recent call last):
File "./prog.py", line 9, in <module>
TypeError: '<' not supported between instances of 'Person' and 'Person'