Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- datos = bytearray(b'Fyodor Dostoevskyiv')
- print(datos[0:6])
- print(datos.startswith(b'Fyodor'))
- print(datos.split())
- print(datos.replace(b'Dostoevskyiv', b'Dostoevsky'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement