Thursday, June 18, 2009

Python ternary operator syntax

var = stuff if cond else otherstuff;

No comments:

Post a Comment