Page 1 of 1

Anagrams An anagram is a word, phrase, or name formed by rearranging the letters of another word, phrase, or name. Write

Posted: Sun Jul 03, 2022 12:01 pm
by answerhappygod
Anagrams An Anagram Is A Word Phrase Or Name Formed By Rearranging The Letters Of Another Word Phrase Or Name Write 1
Anagrams An Anagram Is A Word Phrase Or Name Formed By Rearranging The Letters Of Another Word Phrase Or Name Write 1 (265.74 KiB) Viewed 20 times
Anagrams An Anagram Is A Word Phrase Or Name Formed By Rearranging The Letters Of Another Word Phrase Or Name Write 2
Anagrams An Anagram Is A Word Phrase Or Name Formed By Rearranging The Letters Of Another Word Phrase Or Name Write 2 (243.85 KiB) Viewed 20 times
I need only in python very quickly
Anagrams An anagram is a word, phrase, or name formed by rearranging the letters of another word, phrase, or name. Write a function to check if two given strings are anagrams or not. Return "yes" if they are anagrams, otherwise return "no". Input Specification: input1: the first string input2: the second string Output Specification: Return "yes" if they are anagrams, otherwise return "no". Example 1: input1: build input2: dubli Output: yes Explanation: First string can be rearranged to form the second string. Hence, they are anagram of each other. Example 2: input1: beast input2: yeast Output no Explanation: The first string contains the letter 'b' which is not present in the second string. Similarly, the second string contains the letter 'y which is not present in the first string. Hence, the two strings are not anagram of each other.
PYTHON3 2 # Read only region start 3 class UserMainCode(object): MTL DA DOD Attempted: 0/4 8 9399 @classmethod ♥ Compiler: Python 3.6 def anagramcheck(cls, input1, input2): ... input1: string input2: string Expected return type: string TOI #Read only region end #Write code here