Python String code
original = "original string"
encoded = original.encode()
Output:b'original string'
Happy Horse
original = "original string"
encoded = original.encode()
Output:b'original string'
string_to_encode = "some random string"
encoded_string = string_to_encode.encode()