Default Parameters


#1

I have a question by this Default Parameters exercise . There are three parameters assigned to the function, how can I mange to give input for one of the parameter but keep the other two with the default value?

For example: Item 1 has an input of tea but the item 2 and item 3 should output the default value.
I try to code, but didn’t success.


#2

please show what you tried, so we can see where you go wrong. Thank you

just provide one argument at function call? Then the second and third parameter should get the default value