python set default kwargs code example Example: how to make default kwargs in python self.val2 = kwargs.get('val2',"default value")