SumProject/my_error/ZHtoUnicode.py

3 lines
92 B
Python
Raw Permalink Normal View History

2025-03-22 22:38:52 +08:00
s = input().strip()
unicode_codes = ''.join(f"{ord(c):04X}" for c in s)
print(unicode_codes)