Write the syntax of an if-else statement.
Answers
Answered by
2
Answer:
if(condition):
statement 1
else:
statement 2
Explanation:
make sure that the if and elce key word has the same indentation level and the statement must have a greater indentatiion level than if or else keyword
Answered by
3
Here is your answer, buddy.......
Attachments:
Similar questions
History,
5 months ago
Math,
5 months ago
Science,
10 months ago
CBSE BOARD X,
1 year ago
Math,
1 year ago