Python
eternal youth

by Nishan Pantha (PARADOX)

a = 1
b = 11
c = a if a < 10 else b

a, b = 1, 11
c = None
if a < 10:
    c = a
else:
    c = b

First one is more pythonic

Nishan Pantha (PARADOX)

My eyes just bleed when I see a, b = 1, 11

Tommaso Piazza

Definitely red corner

Matthew Compton

Sign in to comment!