PY/MATH
Challenges
Sequences · Easy

Nth Term Arithmetic

Write `nth_term(a, d, n)` returning the n-th term (1-indexed) of an arithmetic sequence.

solution.py○ Loading…
Loading...
Console
Test cases
nth_term(1, 2, 5)PENDING
HiddenPENDING
Hints