Return a boolean true or false based on whether the given year is a leap year.
The given integer may be positive or negative.
Keep In Mind
it is a leap year on every year that is evenly divisible by 4
except every year that is evenly divisible by 100
unless the year is also evenly divisible by 400
Examples:
(2017) => false
(2016) => true
(1992) => true
(1066) => false
(-7) => false
*^You can assume that you will always recieved valid input
Language: Golang
Length: 53
Solution:
func l(y int)bool{return!(y%4!=0||y%100==0&&y%400!=0)}