Identify the error in the syntax of the following code:%0D%0A%0D%0A%0D%0Adef is_year(year):%0D%0A if year % 4 == 0:%0D%0A print('Year is divisible by 4') %0D%0A else year % 4 != 0:%0D%0A print('Year is not divisible by 4')%0D%0A%0D%0A%0D%0A(1 point)%0D%0AResponses%0D%0A%0D%0AThere should be a double modulus to check for the remainder.%0D%0AThere should be a double modulus to check for the remainder.%0D%0A%0D%0AYou cannot add a conditional statement after the else keyword.%0D%0AYou cannot add a conditional statement after the else keyword.%0D%0A%0D%0AThe print statements shall be ended with a semi-colon.%0D%0AThe print statements shall be ended with a semi-colon.%0D%0A%0D%0AThere should not be a colon after the function definition.

1 answer

The error in the syntax of the code is:
- You cannot add a conditional statement after the else keyword.