• dumples@midwest.social
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    23 hours ago

    Python does have a year option that they are not using. Depending on the application I would use 365 for a year to get a consistent number of days.

    • sunshine@lemmy.mlOP
      link
      fedilink
      arrow-up
      3
      ·
      13 hours ago

      I did look up the help for that function to make this meme but I must have missed that option. in my defense I’ve only been using Python for like 10 years