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