from math import exp
p0 = 1.29
z = 1.25 * 10 ** -4
dict = {h: p0 * exp(-h * z) for h in range(0, 1001, 100)}
for h, p in dict.items():
print(f'{h:5} {p}')
Объяснение:
from math import exp
p0 = 1.29
z = 1.25 * 10 ** -4
dict = {h: p0 * exp(-h * z) for h in range(0, 1001, 100)}
for h, p in dict.items():
print(f'{h:5} {p}')
Объяснение: