freegnu
and other stuff too
AnalogClock
Wednesday, October 1, 2014
Python - exception avoidance
m1 = []
m2 = None
m1_total = m1 and max(m1) or None
m2_total = m2 and min(m2) or 0
2 comments:
Unknown
said...
Nice! Finally some terse python code!
Saturday, October 10, 2015 at 3:46:00 PM EDT
Unknown
said...
Nice! Finally some terse python code!
Saturday, October 10, 2015 at 3:47:00 PM EDT
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
2 comments:
Nice! Finally some terse python code!
Nice! Finally some terse python code!
Post a Comment