Free help with homework

Why join Brainly?

  • ask questions about your assignment
  • get answers with explanations
  • find similar questions


The Brainliest Answer!
It is just like other languages. The else statement is combined with the if statement, so if the if statement is false or 0 the program will execute the else statement automatically. Example(very easy): if it is raining outside use a umbrella else stay at home; if you look over here it says if it is raining outside use a umbrella but in case it isn't raining it will execute the else statement. Syntax: if expression: statement(st) else expression: statement(st)
2 5 2
The Brain
  • The Brain
  • Helper
Not sure about the answer?
Learn more with Brainly!
Having trouble with your homework?
Get free help!
  • 80% of questions are answered in under 10 minutes
  • Answers come with explanations, so that you can learn
  • Answer quality is ensured by our experts