What is the most efficient way to implement ternary conditional operator in Python? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grátis
0

What is the most efficient way to implement ternary conditional operator in Python?

If there is no ternary conditional operator in Python, is it possible to simulate it using other language constructs?

1st May 2019, 7:50 AM
Dmytro Novak
Dmytro Novak - avatar
0 Resposta