首页 新闻 会员 周边
2
回答数

回答被采纳 python判断输入内容中有多少个字母

q = 0w = 0v = input("请输入内容>>>")for item in v: if item.isdigit() == True: q += 1if item in str.isalph