Question: Python For the following function, you may assume that the two string arguments will have the same length. Please implement the function in the space

Python
For the following function, you may assume that the two string arguments will have the same length. Please implement the function in the space provided. def match(s1, s2) (str, str) ->str Return a ne string that indicates where the strings s1 and s2 match. At each index where the two parameters match, the returned string contains an "x". In all other locations, the returned string contains an underscore Assumption: len(s1)len(s2) >match("", "") >match("a" "a") PX' >match("a" "b") >>>match ("abz", "Abc") x
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
