Files
TencentOS-tiny/components/language/micropython/tests/basics/builtin_chr.py
2022-09-29 12:10:37 +08:00

10 lines
139 B
Python

# test builtin chr (whether or not we support unicode)
print(chr(65))
try:
chr(0x110000)
except ValueError:
print("ValueError")