Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Leap Year Issue
#3
Actually, your code is right
When it comes to years like 1000, 2000, 100, 500 it is divided by 400, not 4 and if there is no remainder, it isn't a leap year
pyzyx3qwerty
"The greatest glory in living lies not in never falling, but in rising every time we fall." - Nelson Mandela
Need help on the forum? Visit help @ python forum
For learning more and more about python, visit Python docs
Reply


Messages In This Thread
Leap Year Issue - by spalisetty06 - Jul-02-2020, 12:04 PM
RE: Leap Year Issue - by Larz60+ - Jul-02-2020, 03:05 PM
RE: Leap Year Issue - by pyzyx3qwerty - Jul-02-2020, 03:16 PM
RE: Leap Year Issue - by bowlofred - Jul-02-2020, 03:29 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Trying to get year not the entire year & time mbrown009 2 910 Jan-09-2023, 01:46 PM
Last Post: snippsat
  Problem with module time and leap seconds Pedroski55 3 1,275 Oct-07-2022, 11:27 PM
Last Post: Pedroski55
Photo Algorithm for leap year (structogramm coder_sw99 3 2,254 Jul-23-2021, 02:13 PM
Last Post: DeaD_EyE
  Leap Year MartinEvtimov 14 25,258 Mar-10-2017, 01:46 AM
Last Post: Larz60+
  leap year program issue jashajmera 3 3,919 Feb-04-2017, 11:51 AM
Last Post: ichabod801

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020