https://github.com/martwo/teaching/blob/a2cb24c0d2aee8be00463d3e4f5997afcd035075/WS_2022_23/advanced_python/advanced_python.ipynb cell [21] ```suggestion - l = [10. / i if i > 0 else np.inf for n in range(10)] + l = [10. / i if i > 0 else np.inf for i in range(10)] ```
https://github.com/martwo/teaching/blob/a2cb24c0d2aee8be00463d3e4f5997afcd035075/WS_2022_23/advanced_python/advanced_python.ipynb
cell [21]