SyntaxFix
Write A Post
Hire A Developer
Questions
Use str instead of string
type ( obj ) == str
Explanation
>>> a = "Hello" >>> type(a)==str True >>> type(a) <type 'str'> >>>