Computer Science, asked by BadBabyGirl, 7 days ago

Differentate between the 'if' and 'if...elif' statement in python

Answers

Answered by rajeshwarisonwane992
1

Answer:

an if-elif-else block is one conditional. Python will try each if/elif in turn until it finds a branch to execute. An if-if-else is two blocks: if and if-else . They are not dependent on each other, and both blocks might execute.

Answered by SnowyPríncess
0

Explanation:

The if statement doesn't have else part means in if statement it will only specify that it is true or false. But in if else statement if the statement is false then it is specified in else part.

keep smiling ☺️

Similar questions