Commit c0d55318 by BellCodeEditor

auto save

parent b011ba71
Showing with 15 additions and 0 deletions
#创建列表car, 列表中每个元素就是一个字典
a='99AA--'
print(len(a))
sz=0
zm=0
qt=0
for i in a:
if i>='a' and i<='z' or i>='A' and i<='Z':
zm+=1
if i>='0' and i<='9':
sz+=1
else:
qt+=1
print(zm,sz,qt)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment