CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
jackfrued

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: jackfrued/Python-100-Days
Path: blob/master/公开课/文档/第05次公开课-算法入门系列1-周而复始/code/example03.py
Views: 729
1
a, b = 0, 1
2
for num in range(1, 101):
3
a, b = b, a + b
4
print(f'{num}: {a}')
5
6
7