From 68a0970aa8b1b29a8e1e76e2539eafd773d7b660 Mon Sep 17 00:00:00 2001 From: thomas neveu Date: Tue, 12 May 2026 11:50:12 +0200 Subject: [PATCH] ajout fonction bissextile --- projet_conso.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/projet_conso.py b/projet_conso.py index e548e04..6f32817 100644 --- a/projet_conso.py +++ b/projet_conso.py @@ -31,4 +31,8 @@ def numerojour(date) : def estbissextile(annee) : - if annee == \ No newline at end of file + for annee in nom : + if annee % 4 == 0 and annee % 100 != 0 and annee % 400 == 0 : + True + return False + \ No newline at end of file