def arithmetic_progression(a, d, n): return a + (n - 1) * da = 2d = 4num_terms = 4for i in range(1, num_terms + 1): print(arithmetic_progression(a, d, i), end=" ")
Not registered? Create an account
Forgot Password?
Already a registered user? Login