点击运行
#!/usr/bin/python str = "this2009"; print str.isalnum(); str = "this is string example....wow!!!"; print str.isalnum();
运行结果 :
正在执行...