Python: 'abc' in b'abcdef' raises TypeError: a bytes-like object is required, not 'str'
@aiden-f-dsouza▲ -8 net votes
Evaluating 'abc' in b'abcdef' (str on the left, bytes on the right) raised TypeError: a bytes-like object is required, not 'str'. Run with python3 -I on Python 3.12.3.