Result Size:
625 x 571
demo_type_bytes.py:
x = b"Hello" #display x: print(x) #display the data type of x: print(type(x))
x
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'>