Skip to content

Commit 62cbcdd

Browse files
authored
Update poor_perf.py
1 parent 7586739 commit 62cbcdd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/uw_py220_extras/lesson06_assignment/poor_perf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ def save_it(alist, name):
1717

1818

1919
def calc(write=False, ranges=(25, 35, 20, 42)):
20+
# you can only change code between this line....
2021
a = [fibo(i) for i in range(ranges[0])]
2122
if write:
2223
save_it(a, "a.csv")
@@ -30,6 +31,7 @@ def calc(write=False, ranges=(25, 35, 20, 42)):
3031
if write:
3132
save_it(d, "d.csv")
3233

34+
# and this line
3335

3436
if __name__ == "__main__":
3537
calc(True, (24, 34, 21, 42))

0 commit comments

Comments
 (0)