@mishram1271/

M2-Task1

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
st = "#@$%^&:[][email protected]"
length = len(st)
count = 0 
for i in range(0,length):
  e = st[i]
  if ((e >= 'a' and e <='z') or (e >= 'A' and e <='Z') or (e >='0' and e <='9')):
      count = count + 0
  else:
    count = count + 1
print ("Special:" + str(count))