Anonymous user
Empty string: Difference between revisions
/* {{header|Python}} Comment.
(→Tcl: Added implementation) |
(/* {{header|Python}} Comment.) |
||
Line 88:
=={{header|Python}}==
The empty string is printed by Python REPL as <nowiki>''</nowiki>, and is trated as boolean false, (as are most empty container types, by convention).
<lang python>s = ''
if not s:
|