HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by rmbyrro | Hacker News Reader
Parent
Full thread
rmbyrro
·
`n` isn't defined
View on HN
justinpombrio
·
The implicit context that the poster removed (as you can tell from the indentation) was a function definition:
def factorize(n): ... return prime_factors
Reply on news.ycombinator.com