Computer Science, asked by REDNIKE, 1 year ago

Write the syntax of an if-else statement.​

Answers

Answered by kshtijrawat177
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 vedanshdarshan098
3

Here is your answer, buddy.......

Attachments:
Similar questions