Advertisement
Guest User

Untitled

a guest
Feb 26th, 2020
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.14 KB | None | 0 0
  1. def anagram(word, dwor):
  2.     word = list(word.lower())
  3.     word.sort()
  4.     dwor = list(dwor.lower())
  5.     dwor.sort()
  6.     return word == dwor
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement