what is a purpose of 'else' in if conditional statement in python
Answers
Answered by
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
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
Math,
2 months ago
Social Sciences,
2 months ago
Math,
2 months ago
Hindi,
10 months ago
Math,
10 months ago