Open Mr-Yellow opened 7 years ago
Traceback (most recent call last): File "detect.py", line 221, in pt1 = tuple(reversed(map(int, pt1))) TypeError: argument to reversed() must be a sequence
how to deal with ?
The simplest (but not necessarily the most elegant) solution I could think of:
pt1 = tuple(reversed(list(map(int, pt1))))
Traceback (most recent call last): File "detect.py", line 221, in
pt1 = tuple(reversed(map(int, pt1)))
TypeError: argument to reversed() must be a sequence
how to deal with ?