Given a users dict that maps usernames to email addresses, how would you get the email address for the user djs?

1 answer

To get the email address for the user "djs" from the users dictionary, you can use the following code:

```python
users = {
'john': 'john',
'anna': 'anna',
'djs': 'djs',
'mike': 'mike',
}

email_address = users.get('djs')
```

By using the `get()` method on the `users` dictionary with the argument 'djs', it will return the corresponding value ('djs'), which represents the email address for the user 'djs'.