Created
August 25, 2020 15:51
-
-
Save blacksmithop/b0f6bee5fcdf7848d633ff4c738e692d to your computer and use it in GitHub Desktop.
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
import sys | |
if __name__ == "__main__": | |
sys.argv = sys.argv[1:] | |
w1 = sys.argv[0] | |
w2 = sys.argv[1] | |
print(True if sorted(list(w1)) == sorted(list(w2)) else False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment