demo_type_bytes.py:
x = b"Hello" #display x: print(x) #display the data type of x: print(type(x))
C:\Users\My Name>python demo_type_bytes.py
b'Hello'
<class 'bytes'>