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