Write a program about finding two strings are anagram or not. Rules User can enter a string or two strings for comparing If the user enters a string, Create an anagram using the string that was entered by the user Use the Bubble Sort algorithm for comparing strings Don’t use any ready function (expecting for mandatory function like len, int, chr, range, etc.), you will create all function Suggestions create_anagram function creates an anagram of the string that is entered by the user str2chr2int function is used for converting a string to an integer list int2chr2str function is used for converting an integer to a string compare2str function is used for comparing two string and return matching or not matching sort_bubble function is used for sorting the integ
Write a program about finding two strings are anagram or not.
Rules
User can enter a string or two strings for comparing
If the user enters a string, Create an anagram using the string that was entered by the user
Use the Bubble Sort
Don’t use any ready function (expecting for mandatory function like len, int, chr, range, etc.),
you will create all function
Suggestions
create_anagram function creates an anagram of the string that is entered by the user
str2chr2int function is used for converting a string to an integer list
int2chr2str function is used for converting an integer to a string
compare2str function is used for comparing two string and return matching or not matching
sort_bubble function is used for sorting the integer list
Step by step
Solved in 2 steps with 1 images