Dear All,
Is there a ternary operator without else in python
foo = "True" if test else "False"
is there a way
foo = "True" if test == 'True'
in python
Thanks so much in advance
Is there a ternary operator without else in python
foo = "True" if test else "False"
is there a way
foo = "True" if test == 'True'
in python
Thanks so much in advance
Comment