FCC: Arithmetic Formatter

Tell us what’s happening:
I am stuck with this challenge.

How do you accept 2 parameters in 1 argument function?
And why do I failed on test_arrangement ?? I think the result already same
Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36.

Challenge: Arithmetic Formatter

Link to the challenge:

Thanks anyway for your time and help

You need an optional argument

The function should optionally take a second argument.

The default value of this optional argument should be false.

I second what Jeremy says.
But make sure to write “False “ and not “false” as Booleans are capitalised in python!
Alternatively setting the optional parameter equal to 0 (by letting it be “0” also works).

2 Likes

Thanks for your help.
Just finished the challenge.