alphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agoJavalemmy.worldimagemessage-square76fedilinkarrow-up1580arrow-down148
arrow-up1532arrow-down1imageJavalemmy.worldalphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agomessage-square76fedilink
minus-squareRev@ihax0r.comlinkfedilinkEnglisharrow-up27·1 year agopython is like this also. I don’t remember a language that returned ints
minus-squareshotgun_crab@lemmy.worldlinkfedilinkEnglisharrow-up3·1 year agoPython 2 returns a float, Python 3 returns an int iirc.
python is like this also. I don’t remember a language that returned ints
Python 2 returns a float, Python 3 returns an int iirc.