如果給定的字串包含數字,則模式為r'\d'的Python 正規表示式搜尋方法也可以返回True。 帶有str.isdigit 的Python any 函式來檢查字串是否包含數字在Python 中 ...
確定! 回上一頁