Check if a year is a leap year
Project description
Leap Year
Check if a year is a leap year
Screenshot
Install
$ pip install leapyear
Usage
import leapyear
leapyear.get(2016)
#=> True
leapyear.get(2018)
#=> False
API
leapyear.get(input)
input
Type: string or number
Year to check.
License
MIT Yoginth
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
leapyear-1.0.1.tar.gz
(1.5 kB
view details)
File details
Details for the file leapyear-1.0.1.tar.gz.
File metadata
- Download URL: leapyear-1.0.1.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f88d7593cdba50390117d6dc1b32b62baf501e991edcfe1aec1a8bc0c6863ea3
|
|
| MD5 |
50563c56cd6eef24d33c7a0da73f150c
|
|
| BLAKE2b-256 |
fa314b7c6a40a8a0c091e15af6813788e3fef6da05b49a7318719a1871bb40f2
|