Update Method In Python Dictionary Values