dashboard
repositories
filestore
activity
search
login
python-kurs
/
example-projects-2024
example-projects-2024
summary
reflog
commits
tree
tickets
docs
forks
compare
blame
|
history
|
raw
* remove print * change main layout
hbui
2024-07-22
879c209d64f0c139706e5cb73b1c4c95ec532004
[python-kurs/example-projects-2024.git]
/
python-grundlage
/
harmonic-serie.py
1
2
3
4
5
6
7
8
n
=
10
h
=
1
algebraic_h
=
"1"
for
k
in
range
(
2
,
n
+
2
):
print
(
f
"{algebraic_h} = {h}"
)
algebraic_h
=
f
"{algebraic_h} + 1/{k}"
h
=
h
+
1
/
k