def main():

    #===== write your code below =======


    year = int(input('Give a year:'))


    if : year % 4 == 0 and year % 100 != 0:

        print('The year is a leap year')

        

    elif : year % 400 == 0:

        print('The year is a leap year') 

            

    else:

        print('The year is not a leap year')

        


if __name__ == '__main__':

    main()

윤년구하는 문제인데 if문에서 invalid syntax가 뜨네요
아랫문장이랑 구조는 같은데 뭐가 문제일까요..

- dc official App