Skip to main content

Timeline for When was this language released?

Current License: CC BY-SA 3.0

10 events
when toggle format what by license comment
Sep 30, 2016 at 18:38 comment added Cyoce print('2015'if 1/2else'2010') is better
Sep 29, 2016 at 8:43 comment added miles Thank you both, but since the scoring metric is number of languages, I've been completely beat.
Sep 29, 2016 at 8:43 comment added Jakube Or us math: print(int(2010+1/2*10))
Sep 29, 2016 at 8:43 comment added Jakube print('2015'if 1/2else'2010') - same idea, 1/2 evaluates to 0 (falsy value) in Python2 and to 0.5 in Python3.
Sep 29, 2016 at 7:31 comment added clismique Can't you do '2010'if 3/2>1else'2015' instead?
Sep 29, 2016 at 6:23 comment added Yytsi Hmm. That's strange. I (think) my phone interpreter has an 2.7 or 3+ interpreter and it still complains.
Sep 29, 2016 at 5:23 comment added miles @TuukkaX It works for me in both Python 2.7.12 and Python 3.5.1 on Fedora 24.
Sep 29, 2016 at 5:14 comment added Yytsi I get an invalid token error without the space before else.
Sep 29, 2016 at 4:24 comment added miles This could be a fun challenge if it involves identifying bugs/changes in operators between versions
Sep 29, 2016 at 4:23 history answered miles CC BY-SA 3.0