Computer Science, asked by udaychanpa635, 5 months ago

what is a purpose of 'else' in if conditional statement in python

Answers

Answered by pavit15
1

Answer:

The if..else statement evaluates test expression and will execute the body of if only when the test condition is True . If the condition is False , the body of else is executed. Indentation is used to separate the blocks.

pls mark brainiest

Answered by Anonymous
1

Answer:

Syntax of if...else

The if..else statement evaluates test expression and will execute the body of if only when the test condition is True . If the condition is False , the body of else is executed. Indentation is used to separate the blocks.

Similar questions