Generation

generate functionThu, 25 May 2023

Judge whether the character is in simplified japanese characters

def is_japanese(char): return 0x4e00 <= ord(char) <= 0x9fff is_japanese("日")

Want to kickstart your project?Use the new AI Studio to create your code