4 lines
101 B
Python
4 lines
101 B
Python
>>> secret = 'foo'
|
|
>>> result = 'got it' if secret=='foo' else 'try again'
|
|
>>> print result
|
|
'got it'
|