79436165

Date: 2025-02-13 12:35:18
Score: 1
Natty:
Report link
S1 = list(map(str, input("Enter string 1")))
S2 = list(map(str, input("Enter string 2")))
set1 = set(S1)
set2 = set(S2)
count = 0
for i in set1:
    for x in set2:
        if i == x:
            count = count+1
print(count)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: srivardhni