Hi I am having some difficulty with assert statements use in functions. In a function definition, if you have a keyword argument intaking a dictionary as a parameter, how can you use just the assert statements to make sure it only accepts 1 of 2 parameters but not both?
i.e.
expDict = {'a':1,'b':2}
The function can only accept a or b but not both
def test(**kwargs):