Advertisement
smmac72

18

Mar 30th, 2023
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. def spell_difficulty(spells):
  2.     counter = 0
  3.     for i in spells:
  4.         if len(i) > 8 or len(i.split()) >= 2:
  5.             counter += 1
  6.     return counter
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement