I was wondering why i was getting this error for adding a letter to this string from a function.  

`local variable 'string' referenced before assignment`

### CODE

```
def update_string():
    string+='d'

string='s'

update_string()

```