write about if else condition in python
Answers
Answered by
2
Answer:
An else statement can be combined with an if statement. An else statement contains the block of code that executes if the conditional expression in the if statement resolves to 0 or a FALSE value. The else statement is an optional statement and there could be at most only one else statement following if.
Answered by
2
Answer:
An else statement can be combined with an if statement. An else statement contains the block of code that executes if the conditional expression in the if statement resolves to 0 or a FALSE value. The else statement is an optional statement and there could be at most only one else statement following if.
Similar questions
Economy,
5 months ago
Social Sciences,
5 months ago
Chemistry,
10 months ago
Psychology,
10 months ago
Biology,
1 year ago