Postingan lainnya
Is there a ternary conditional operator in Python?
I'm reading this article, here and want to know if a ternary conditional operator available in Python?
1
1 Jawaban:
<div>I guess something like this</div><pre>value <strong>=</strong> a <strong>if</strong> a < b <strong>else</strong> b</pre>
1