This kata is part of the collection [Mary's Puzzle Books](https://www.codewars.com/collections/marys-puzzle-books).

Mary brought home a "spot the differences" book. The book is full of a bunch of problems, and each problem consists of two strings that are similar. However, in each string there are a few characters that are different. An example puzzle from her book is:
```
String 1: "abcdefg"
String 2: "abcqetg"
```
Notice how the "d" from String 1 has become a "q" in String 2, and "f" from String 1 has become a "t" in String 2.

It's your job to help Mary solve the puzzles. Write a program `spot_diff`/`Spot` that will compare the two strings and return a list with the positions where the two strings differ. In the example above, your program should return `[3, 5]` because String 1 is different from String 2 at positions 3 and 5.

NOTES:

```if-not:csharp
• If both strings are the same, return `[]`
```
```if:csharp
• If both strings are the same, return `new List()`
```

• Both strings will always be the same length

• Capitalization and punctuation matter

Difficulty: introductory

Starter code:

def spot_diff(s1, s2):
	

Solutions:
def spot_diff(s1, s2):
  return [i for i in range(len(s1)) if s1[i] != s2[i]]

def spot_diff(s1, s2):
    return [k for k in range(len(s1)) if s1[k] != s2[k]]

def spot_diff(s1, s2):
  r=[]
  for i in range (len(s1)):
    if s1[i]!=s2[i]: r.append(i)
  return r

def spot_diff(s1, s2):
    return [i for i, (x, y) in enumerate(zip(s1, s2)) if x != y]


def spot_diff(s1, s2):
    return [i for i, (a, b) in enumerate(zip(s1, s2)) if a != b]

spot_diff = lambda a,b: [i for i,j in enumerate(zip(a,b)) if j[0]!=j[1]]    

def spot_diff(s1, s2):
    return [i for i, a in enumerate(zip(s1, s2)) if a[0] != a[1]]

def spot_diff(s1, s2):
  return [index for index, (c1, c2) in enumerate(zip(s1, s2)) if c1 != c2]

def spot_diff(s1, s2):
    ret = []
    for i in range(0,len(s1)):
        if s1[i] != s2[i]:
            ret.append(i)
    return ret

def spot_diff(s1, s2):
    diffs = []
    for i in range(0,len(s1)):
        if(s1[i] != s2[i]):
            diffs.append(i)
    return diffs