OUTPUT Of Python C.ode
def retseries (init,step):
return init ,init+step,init+2*step,init+3*step
ini=int(input("Enter intial value of the AP series:"))
st=int(input("Enter step value of the AP series"))
print("series with initial value:",ini,"& step value:",st,"goes as:")
t1,t2,t3,t4=retseries(ini,st)
print(t1,t2,t3,t4)
SPAMMER ANSWERS WILL BE REPORTED!!
Answers
Answered by
19
Answer:
After Running Following Python C.ode
The output Produced is in above Attachment
Python Version- Anaconda python
Attachments:
Answered by
0
Answer:
def retseries (init,step):
return init ,init+step,init+2*step,init+3*step
ini=int(input("Enter intial value of the AP series:"))
st=int(input("Enter step value of the AP series"))
print("series with initial value:",ini,"& step value:",st,"goes as:")
t1,t2,t3,t4=retseries(ini,st)
print(t1,t2,t3,t4)
Similar questions