sunshine@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 3 days agoI'm new to using Ruby and this tickled me pinklemmy.mlexternal-linkmessage-square92fedilinkarrow-up1288arrow-down17cross-posted to: programmer_humor@programming.dev
arrow-up1281arrow-down1external-linkI'm new to using Ruby and this tickled me pinklemmy.mlsunshine@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 3 days agomessage-square92fedilinkcross-posted to: programmer_humor@programming.dev
minus-squaredumples@midwest.sociallinkfedilinkEnglisharrow-up8arrow-down1·2 days 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-up7·2 days 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