PY/MATH
Home
Challenges
Concepts
Progress
Final Project
0 XP
·
L1
EN
NO
☾
⚙
← Challenges
Algebra · Medium
Simplify a Fraction
Write `simplify(n, d)` returning `[num, den]` in lowest terms with positive denominator.
solution.py
○ Loading…
Reset
Loading...
Run code
Check solution
Console
Test cases
simplify(4, 8)
PENDING
simplify(6, -9)
PENDING
Hidden
PENDING
Hints
Reveal next hint
>_