Python isalnum()方法

Python 字符串 Python 字符串

描述

Python isalnum() 方法检测字符串是否由字母和数字组成。

语法

isalnum()方法语法:


str.isalnum()

参数

  • 无。