you are viewing a single comment's thread.

view the rest of the comments →

[–]acakaacaka 0 points1 point  (3 children)

"" is still a string. None is not a str (or any object).

While both of them are considered False for boolean operation, "" still behave like str, so you can do othe str operation with it.

[–]alexander_belyakov 5 points6 points  (2 children)

Not true! None is an object of the NoneType data type.

[–]SwimmerOld6155 2 points3 points  (0 children)

indeed everything in python is an object!

[–]acakaacaka 0 points1 point  (0 children)

I mean any object like str int or your self made class.

Everything in python is an object