Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = [1, 1j]
- x.sort()
- Traceback (most recent call last):
- File "<pyshell#13>", line 1, in ?
- x.sort()
- TypeError: cannot compare complex numbers using <, <=, >, >=
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement