Back to questions

Is Anagram? Workday Python Interview Question

Is Anagram?

Workday Python Interview Question

Given two strings and , return if the two strings are anagrams of each other, otherwise return .

An anagram is a word or phrase formed by rearranging the letters of a different word or phrase, using all the original letters exactly once.

You can assume both of the strings will contain lowercase alphabet characters.

Example #1

Input:

Output:

Example #2

Input:

Output:

Example #3

Input:

Output:

Input

Python

Output