sunshine@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 5 days agoI'm new to using Ruby and this tickled me pinklemmy.mlimagemessage-square73fedilinkarrow-up1202arrow-down17cross-posted to: [email protected]
arrow-up1195arrow-down1imageI'm new to using Ruby and this tickled me pinklemmy.mlsunshine@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 5 days agomessage-square73fedilinkcross-posted to: [email protected]
minus-squaredumples@midwest.sociallinkfedilinkEnglisharrow-up5arrow-down1·4 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·4 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