Answer: Public
Explanation:
A top level class can have a public, as top level cannot be private and protected because the modifier private is not allowed. As, top level is a class which is not a nested class. Interface of a access modifier is either public or no modifier. There are two types of access control modifier are top level - public and member level- private, protected.
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
Explanation:
Business xase evaluation is most useful because (BCA) provides a best-value analysis that considers not only cost but other quantifiable and non-quantifiable factors supporting an investment decision. This can include but is not limited to, performance, producibility, reliability, maintainability, and supportability enhancements.
Mark me brainliest
Answer:
def corresponding_of_lists(lst1, lst2):
c = ""
corresponding_list = []
if (lst1 is None) or (lst2 is None):
return None
else:
for i in lst1:
for j in lst2:
c = "(" + str(i) + "," + str(j) + ")"
corresponding_list.append(c)
return corresponding_list
Explanation:
- Create a function called corresponding_of_lists that takes two lists as parameter
- Initialize an empty list to hold the corresponding values
- Check if any of the lists are null, if they are return None
- Otherwise, get the corresponding elements and put them into the corresponding_list
Return the corresponding_list