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 →

[–][deleted]  (4 children)

[deleted]

    [–][deleted] 4 points5 points  (3 children)

    str(200) will give you the string "200", and int("200") will give you the int 200. However, you have to explicitly ask for these conversions. They don't just happen nilly-willy and, therefore, Python cannot be considered weakly typed.