# leetle

## 2. Single Number

Write a function `solve` that finds the number that appears only once in a list where all other numbers appear twice.

**Example:**

```python
Input: [4,1,2,1,2]
Output: 4
```

Make sure you `return` your solution, don't print!

```python
def solve(nums):
    pass
```
