Question: write it in python Write a function called Scramble_letters, which takes two strings as parameters. and returns a string containing the same characters but randomly

write it in python

write it in python Write a function called Scramble_letters, which takes two

Write a function called Scramble_letters, which takes two strings as parameters. and returns a string containing the same characters but randomly reordered. Remember we've used the random, rand into() function before, and it'll be every useful here. For example, scramble_letters('sensible') might return 'sienbels' or 'blenssie' Write a function called is_anagram, which takes two strings as parameters. It returns a boolean (True of False) indicating whether the strings are anagrams of each other. An anagram means they have the exact same letters but in a different order. Examples: is_anagram('pots', 'spot') returns True, is_anagram ('hello', 'goodbye') returns False. The frequency of letters does matter for anagrams, so is_anagram ('choose', chose') should return False.)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!