Files
RustPython/tests/snippets/funky_syntax.py
2018-10-17 08:45:16 +02:00

9 lines
101 B
Python

a = 2
b = 2 + 4 if a < 5 else 'boe'
assert b == 6
c = 2 + 4 if a > 5 else 'boe'
assert c == 'boe'