Character and Text Representation Solution
This lesson contains the solutions and explanations of the challenges in the lesson: Character and Text Solution.
We'll cover the following...
Coding challenge 1 solution
Press + to interact
def decodeIt():data = b"\xBC cup of flour"return data.decode("ISO-8859-1")
Explanation
Characters with Unicode values (in hex) between A0 and FF have identical character mappings but, in fact, ...