Is there a better way to do the following:
if condition:
do_something(argument1, argument2, argument3)
else:
do_something(argument1, argument2)
I want fewer lines, as it seems too bulky:
do_something
is a function that takes 2 required arguments and 1 optional argument (uses default value if not passed). I want to pass optional argument (argument3) to this function only if condition == True.