You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
307 B
11 lines
307 B
3 years ago
|
def estBissextile(an):
|
||
|
"""Fonction estBissextile qui prend en paramètre l’année à vérifier et qui renvoie True si elle est bissextile, False sinon"""
|
||
|
an_base = an
|
||
|
an = an//4
|
||
|
|
||
|
if an*4 == an_base:
|
||
|
return True
|
||
|
else:
|
||
|
return False
|
||
|
|
||
|
print(estBissextile(an))
|