✧・゚: *✧・゚:* *:・゚✧*:・゚✧
Hello!
✧・゚: *✧・゚:* *:・゚✧*:・゚✧
❖ The correct answer choice is B) sorting. When you sort, you can order your sheet however you'd like.
~ ʜᴏᴘᴇ ᴛʜɪꜱ ʜᴇʟᴘꜱ! :) ♡
~ ᴄʟᴏᴜᴛᴀɴꜱᴡᴇʀꜱ
In python 3.8:
user_input = input().split()
x = user_input[0]
char = user_input[-1]
for w in range(1,int(x)+1):
if char in user_input[w]:
print(user_input[w])
I hope this helps
Answer:
def isAnagram(s1, s2):
list1=s1
list2=s2
sortedlist1 = sorted(list1)
sortedlist2 = sorted(list2)
if sortedlist1 == sortedlist2:
print(list1+ " and "+list2+ " are anagram")
else:
print(list1+ " and "+list2+ " are not anagram")
Explanation:
Here is a call to the function isAnagram():
list1 =input("Enter String1 ")
list1 =input("Enter String2 ")
isAnagram(list1,list2)
Attached is the run and output for this program
Its B i think hope this helps !