Skip to content

Commit d9cd988

Browse files
authored
Change printer to use n input
Hi! Thank you for your course, this is really great so far :). Here is a quick fix: In the `printer` function, `range` is using `10` instead of `n`. This PR fixes it ;)
1 parent 046f31a commit d9cd988

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Algorithm Analysis and Big O/Big O Examples .ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@
455455
" '''\n",
456456
" Prints \"hello world!\" n times\n",
457457
" '''\n",
458-
" for x in range(10):\n",
458+
" for x in range(n):\n",
459459
" print 'Hello World!'"
460460
]
461461
},

0 commit comments

Comments
 (0)