# Determine whether or not one string is a permutation of another.

import sys
import operator

def isPermutation(s1, s2):
    input1, input2 = [], []

    for i in s1:
        input1.append(i)

    for j in s2:
        input2.append(j)

    input1.sort()
    input2.sort()

    if operator.eq(input1, input2):
        return True
    return False

if __name__ == "__main__":
    print(isPermutation(sys.argv[-1], sys.argv[-2]))

85e20bca8b48a2c841936fdb1e9f497841be0c4f
<mask token>

<mask token>


def isPermutation(s1, s2):
    input1, input2 = [], []
    for i in s1:
        input1.append(i)
    for j in s2:
        input2.append(j)
    input1.sort()
    input2.sort()
    if operator.eq(input1, input2):
        return True
    return False


<mask token>

<mask token>


def isPermutation(s1, s2):
    input1, input2 = [], []
    for i in s1:
        input1.append(i)
    for j in s2:
        input2.append(j)
    input1.sort()
    input2.sort()
    if operator.eq(input1, input2):
        return True
    return False


if __name__ == '__main__':
    print(isPermutation(sys.argv[-1], sys.argv[-2]))

import sys
import operator


def isPermutation(s1, s2):
    input1, input2 = [], []
    for i in s1:
        input1.append(i)
    for j in s2:
        input2.append(j)
    input1.sort()
    input2.sort()
    if operator.eq(input1, input2):
        return True
    return False


if __name__ == '__main__':
    print(isPermutation(sys.argv[-1], sys.argv[-2]))

# Determine whether or not one string is a permutation of another.

import sys
import operator

def isPermutation(s1, s2):
    input1, input2 = [], []

    for i in s1:
        input1.append(i)

    for j in s2:
        input2.append(j)

    input1.sort()
    input2.sort()

    if operator.eq(input1, input2):
        return True
    return False

if __name__ == "__main__":
    print(isPermutation(sys.argv[-1], sys.argv[-2]))
