RosettaCodeData/Task/Inverted-syntax/Python/inverted-syntax-1.py

2 lines
43 B
Python

x = truevalue if condition else falsevalue