Generation

generate functionTue, 23 May 2023

Determine whether the character is Japanese or not

def is_japanese(s): if s >= u'\u4e00' and s <= u'\u9faf': return True else: return False is_japanese(u'涼太')

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