3 lines
89 B
Python
3 lines
89 B
Python
x = b'abc'
|
|
list(x) # evaluates to [97, 98, 99]
|
|
bytes([97, 98, 99]) # evaluates to b'abc'
|