Decisions · warm-up
Positive, negative or zero
Write sign_of(n) that returns the string "positive", "negative" or "zero".
- right answers
- arguments left as they should be
Run adds print(sign_of(0)) after your code, to try it.
Stuck on the idea rather than the code? The Making decisions lesson walks through it.