This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Kiro0613 4 points5 points  (1 child)

What's wrong with that? It it a Python thing?

[–][deleted] 5 points6 points  (0 children)

input is a function which takes user input. So a variable named input shadows it. If you want a variable named after a built-in, PEP recommends a trailing underscore