This website requires JavaScript.
Explore
Help
Sign In
2025014
/
PR3Python
Archived
Watch
1
Star
0
Fork
You've already forked PR3Python
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
This repository has been archived on
2022-05-03
. You can view files and clone it, but cannot push or open issues/pull-requests.
master
PR3Python
/
python
/
s1
/
s1_a4.py
5 lines
96 B
Python
Raw
Permalink
Blame
History
n
=
int
(
input
(
"
Enter n:
"
)
)
s
=
0.0
for
i
in
range
(
1
,
n
+
1
)
:
s
=
s
+
1.0
/
(
i
*
i
)
print
(
s
)
Reference in New Issue
View Git Blame
Copy Permalink