Product of Six Numbers
EasyP3Coding
Return the product of the six numbers a through f.
Example 1
- Input
- a = 1, b = 2, c = 3, d = 4, e = 5, f = 6
- Output
- 720
Example 2
- Input
- a = 0, b = 1, c = 2, d = 3, e = 4, f = 5
- Output
- 0
Example 3
- Input
- a = 1, b = 1, c = 1, d = 1, e = 1, f = 1
- Output
- 1
Constraints
- -100 <= each value <= 100, so the product fits in 2^53.
Hints
Give it a real attempt first. Run shows which examples fail.
Saved automatically
Run checks the 3 visible tests, Submit all 8. ⌘Enter runs, ⌘⇧Enter submits.