python print unicode character

def str_to_unicode(s: str):
    return s.encode("unicode_escape").decode()
print(str_to_unicode('Python is Great '))

Here is what the above code is Doing:
1. The str_to_unicode function takes a string as an argument.
2. The string is encoded using the unicode_escape codec.
3. The encoded string is decoded using the utf-8 codec.
4. The decoded string is returned.