Hard
Text as Bytes
Read a line. Encode it with
s.encode('utf-8'). Print the number of characters, the number of bytes, and the bytes in hexadecimal separated by spaces (two digits each, small letters).Input
One line.
Output
Three lines.
Sample 1
Input
Hi
Output
2 2 48 69
Sample 2
Input
café
Output
4 5 63 61 66 c3 a9
Output appears here