The Ashes
EasyP3Coding
Given the scores of the two teams, return "Australia" if Australia scored more, "England" if England scored more, and "Tie" if the scores are equal.
Example 1
- Input
- australia = 300, england = 250
- Output
- "Australia"
Example 2
- Input
- australia = 250, england = 300
- Output
- "England"
Example 3
- Input
- australia = 200, england = 200
- Output
- "Tie"
Constraints
- 0 <= australia, england <= 10^9
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.