+ 4
How to use algebraic formulas in Python?
how can I use formula to do algebraic calculations in Python tn=a+(n-1)*d tn=last term, a=first term, n=nth term of an Ap, d=difference. this is general term of arithmetic progression of class 10th in India... how can use it to perform various calculations in Python? if tn=9999, a=1111 , d=1, find n=? how to find n? not only n I want to find all values like if n is given but tn is not given then also we will use that program to find value. Anybody?
1 Resposta
+ 1
Explicitly state the 4 different equations and use conditional statements to determine which equation should be used based off of user input which is left blank
https://code.sololearn.com/cLevG8sAT3cU/?ref=app