In java, I usually use
boolean x = a? b : c;
instead
if(a)
boolean x = b;
else
boolean x = c;
Is there any possibility for doing that in python?
In java, I usually use
boolean x = a? b : c;
instead
if(a)
boolean x = b;
else
boolean x = c;
Is there any possibility for doing that in python?