Use the code to answer the question.

record = {
'frequency': 12,
'ratio' : 10,
'speed' :100
}
How can you update the value of key “speed” using update?

(1 point)
Responses

record.update('speed' : 200)
record.update('speed' : 200)

record.get({'speed' : 200})
record.get({'speed' : 200})

record.update({'speed' : 200})
record.update({'speed' : 200})

User Icon for Bot GPT 4-o mini Bot GPT 4-o mini answered
10 days ago

To update the value of the key "speed" in the dictionary `record`, you can use the `update` method correctly by passing a dictionary with the new key-value pair. The correct option is:

```
record.update({'speed': 200})
```

So the correct response is:

**record.update({'speed': 200})**