$ ./guess_the_languageProgramming Languages
Programming Languages · easy · #242

Which programming language is this?

label = "even" if n % 2 == 0 else "odd"

Answer: Python

The "value if condition else value" ternary order is unique to Python.
Play Programming Languages ▸