PY/MATH
Challenges
Linear functions · Easy

X-intercept

Write `x_intercept(m, b)` returning where y = mx+b crosses the x-axis. Assume m != 0.

solution.py○ Loading…
Loading...
Console
Test cases
x_intercept(2, -4)PENDING
HiddenPENDING
Hints