橘子味的心
标题:Python3 字符串String Isalnum 方法

Python3 字符串String Isalnum 方法

#!/usr/bin/python3

str = "this2016"  # No space in this string
print (str.isalnum())

str = "this is string example....wow!!!"
print (str.isalnum())

目录

分类