Set Default Method In Python Dictionary Syntax Python If Function