Professional Documents
Culture Documents
SCHOOL
Project Report on: Compute the value of
exponential(e) to up to n numbers
Session: 2022-23
ACKNOWLEDGEMENT
I would like to express my special thanks of gratitude to
my teacher Arunava Sengupta as well as our principal
Sushant Das, who gave me the golden opportunity to do
this wonderful project on the topic:- Compute the value
of exponential(e) to up to n numbers , which also
helped me in doing a lot of research and I came to know
about so many new things and I am really thankful to
them.
Software requirements:
Operating System: Windows 11 Pro x64
Software: Python IDLE 3.10, Microsoft Office Word
Introduction:
Python is a widely used general-purpose, high level
programming language. It was created by Guido van
Rossum in 1991 and further developed by the Python
Software Foundation. It was designed with an emphasis
on code readability, and its syntax allows programmers
to express their concepts in fewer lines of code.
x in
range(i+1):
?
False
True
e+=(1/(math.factorial(x)))
END
Code:
import math
i=int(input("Enter upto how many terms: "))
e=0
for x in range(i+1):
e+=(1/(math.factorial(x)))
print("The value of e upto ",i," terms is ", round(e,(i-
1)))
Output:
1.
2.
Conclusion:
Importance of Python: