sunshine@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 day agoI'm new to using Ruby and this tickled me pinklemmy.mlexternal-linkmessage-square81fedilinkarrow-up1260arrow-down18cross-posted to: programmer_humor@programming.dev
arrow-up1252arrow-down1external-linkI'm new to using Ruby and this tickled me pinklemmy.mlsunshine@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 day agomessage-square81fedilinkcross-posted to: programmer_humor@programming.dev
minus-squaredumples@midwest.sociallinkfedilinkEnglisharrow-up6arrow-down1·16 hours agoPython 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.
minus-squaresunshine@lemmy.mlOPlinkfedilinkarrow-up2·5 hours agoI 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
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.
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