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
fix python automatically test discovery
hbui
2024-07-23
4ac5bac6e8ed741dd2725d221d7702a2eba50c90
[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