Arithmetic formatter project

Negative numbers in arithmetic operations
I read the instructions regarding the first project in scientific programming with python certificate and I have a question: can any of the two numbers we’re adding or subtracting be negative?
and either way, how should my project function cope?
As far as I saw, none of the examples given in the project instructions pointed a negative number.

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/93.0.4577.82 Safari/537.36

Challenge: Arithmetic Formatter

Link to the challenge:

the numbers aren’t negative, if I remember correctly, you can get a negative result tho

but I imagine you would treat the negative sign as part of the number, with the right code it will work even witj negative numbers without you needing to treat it as a special case

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.