帅码编程
编辑器
txt = "Demo" x = txt.isidentifier() print(x)
True