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
by the IP address of the computer
a computer is located by the IP address
Answer:
how many of these information have you shared
Answer:
runtime error
Explanation:
Based on the information provided within the question it can be said that the line of code "System.out.println(resultSet.getString(1));" would not print out anything and instead would give you a runtime error. This is because there is no resultSet.next() line in your code allowing for the resultSet to start in the first row and move consequently down the rows. Thus giving a runtime error.
If you have any more questions feel free to ask away at Brainly.