• + 0 comments

    My solution is partially correct:

    def twoStrings(s1, s2):
        # Write your code here
        msg = 'NO'
    
        for cs1 in s1:
            for cs2 in s2:
                if cs1==cs2:
                    msg = 'YES'
        return msg