Commit 49be1695 by BellCodeEditor

auto save

parent d5e15c1f
Showing with 29 additions and 0 deletions
"""
m=int(input("输入m:"))
n=int(input("输入n:"))
for i in range(m,n+1):
if i%7==0:
if not i %5==0:
print(i,end=",")
"""
a=input("输入:")
b=0
c=0
d=0
e=0
for i in a:
if i >="0"and i <="9":
b+=1
elif i ==" ":
c+=1
elif(i >="a"and i <="z" )or (i>="A" and i <="Z"):
d+=1
else:
e+=1
print(b)
print(c)
print(d)
print(e)
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