Advertisement
Lord_Emaz

Untitled

Feb 28th, 2020
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1.  
  2. def count_of_a(list):
  3.     return list.count('a')
  4.  
  5. print(list(map(count_of_a, ['mango', 'ashame', 'increase', 'humble'])))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement