Set Default Method In Python Dictionary Operations