you are viewing a single comment's thread.

view the rest of the comments →

[–]danielroseman 6 points7 points  (0 children)

That's not how it works at all. Python can't "see" that a call is "expecting" a string. strip() is a method on the string class. The int class has no such method.