Report Bug

QusA conditional expression is also called a _______________ Qusएक कंडीशनल एक्सप्रेशन को __________ भी कहा जाता है


A. Alternative to if-else
B. Immediate if
C. If-then-else statement
D. Switch statement


Solution
B. Immediate if



Explanation

A conditional expression can evaluate to either True or False based on the evaluation of the condition. If the condition is true then the value following the operator is taken that’s why it is called immediate if.

Syntax:

result = IIf(condition, expression_if_true, expression_if_false)

CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online Exam Quiz O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Best Website and Software Company in Allahabad Website development Company in Allahabad