Created
October 25, 2015 16:18
-
-
Save popey456963/e205164fb6253403c98e to your computer and use it in GitHub Desktop.
Testing Anagrams
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
s1, s2 = input().split(" ") | |
if sorted(s1) == sorted(s2): print("Anagram") | |
else: print("Not Anagram") |
Author
popey456963
commented
Oct 28, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment