Exercise: Check for leap year
- Load the
lubridate
package. - Use the
leap_year
function to check if 2020 is leap year or not. (Hint: the function takes the year in the form of a number as the first parameterdate
)
Results
Submit code to see output here.