What is the difference between else and elif construct of if statement
Answers
Answered by
17
Answer:
Else evaluates a single statement before closing the loop. Elif allows you to evaluate multiple statements before closing the loop. ... An else clause when attached to an if statement lets you execute code when the condition is false: if condition do thing1 else do thing2 .
i hope this will help you army please add me to brainlist plzz and follow me plzz
Similar questions
Social Sciences,
2 months ago
English,
2 months ago
Social Sciences,
2 months ago
English,
6 months ago
Math,
6 months ago
English,
11 months ago
English,
11 months ago