Mark As Completed Discussion

Try this exercise. Click the correct answer from the options.

What is wrong in the below code?

PYTHON
1length = 5
2breadth = 5
3
4if length == breadth
5    print("This is a square")
6else
7    print("This is not a square")

Click the option that best answers the question.

  • Missing `elif` condition
  • Round brackets missing for expression
  • Missing colon
  • Missing curly braces