Write a Python program to convert the bytes in a given string to a list of integers.

Write a Python program to convert the bytes in a given string to a list of integers.

1
2
3
4
5
x = b'Abc'
print()
print("\nConvert bytes of the said string to a list of integers:")
print(list(x))
print()

Final output

Leave a Comment