Short if
Thomas Lindgaard
thomas at it-snedkeren.BLACK_HOLE.dk
Wed Jul 7 05:14:45 EDT 2004
Hello
Does Python have a short if like C or PHP:
bool = false
string = 'This is ' + (( bool ) ? 'true' : 'false')
?
--
Mvh.
/Thomas
More information about the Python-list
mailing list