circuitpython/tests/basics/bytes_compare_bytearray.py
2021-05-03 14:01:18 -07:00

5 lines
138 B
Python

print(b"123" == bytearray(b"123"))
print(b'123' < bytearray(b"124"))
print(b'123' > bytearray(b"122"))
print(bytearray(b"23") in b"1234")