提交时间:2023-11-10 09:54:28
运行 ID: 243
s = input() def is_valid_identifier(s): if not s: return "no" if s[0].isdigit(): return "no" for char in s: if not (char.isalnum() or char == '_'): return "no" return "yes" print(is_valid_identifier(s))