Browse Source

ajout fonction bissextile

master
thomas neveu 4 weeks ago
parent
commit
68a0970aa8
  1. 6
      projet_conso.py

6
projet_conso.py

@ -31,4 +31,8 @@ def numerojour(date) :
def estbissextile(annee) : def estbissextile(annee) :
if annee == for annee in nom :
if annee % 4 == 0 and annee % 100 != 0 and annee % 400 == 0 :
True
return False
Loading…
Cancel
Save