Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

`n` isn't defined


The implicit context that the poster removed (as you can tell from the indentation) was a function definition:

    def factorize(n):
      ...
      return prime_factors




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: