Interview Questions




Most Essential And Frequently Asked Interview
Questions And Answer

Python

Q.Ternary Operator in Python

Ans.:

Python | Ternary Operator

python uses an if-else conditional statement in a single line to represent the Ternary Operator.

[true] if [expression] else [false]
View Detials