SyntaxFix
Write A Post
Hire A Developer
Questions
Just use the indexer and update directly:
dictionary["cat"] = 3