Task 14 An anagram is a play on words created by rearranging the letters of the original word to make a new word or phrase. So we can say two words are anagrams if they contain all of the same...


Task 14<br>An anagram is a play on words created by rearranging the letters of the original word to make a new word or phrase. So we can say two words are anagrams<br>if they contain all of the same letters, but in a different order,<br>Write a python program that takes two strings from the user and tells if they are anagram or not.<br>Sample Input 1:<br>dusty<br>study<br>Sample Output 1:<br>They are anagram<br>========<br>Sample Input 2:<br>dustyyy<br>study<br>Sample Output 2:<br>They are not anagram<br>

Extracted text: Task 14 An anagram is a play on words created by rearranging the letters of the original word to make a new word or phrase. So we can say two words are anagrams if they contain all of the same letters, but in a different order, Write a python program that takes two strings from the user and tells if they are anagram or not. Sample Input 1: dusty study Sample Output 1: They are anagram ======== Sample Input 2: dustyyy study Sample Output 2: They are not anagram

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here