What are the 2 different Conditional Statements In Python?
Answers
Answered by
2
Answer:
"if condition" – It is used when you need to print out the result when one of the conditions is true or false.
"else condition"- it is used when you want to print out the statement when your one condition fails to meet the requirement.
"elif condition" – It is used when you have third possibility as the outcome.
Answered by
4
➤ It is used when you need to print out the result when one of the conditions is true or false.
➤ it is used when you want to print out the statement when your one condition fails to meet the requirement.
➤ It is used when you have third possibility as the outcome.
Similar questions