I need to check if more than one of a, b, c, and d are being defined:
def myfunction(input, a=False, b=False, c=False, d=False):
if <more than one True> in a, b, c, d:
print("Please specify only one of 'a', 'b', 'c', 'd'.)
I am currently nesting if statements, but that looks horrid. Could you suggest anything better?