alphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agoJavalemmy.worldimagemessage-square90fedilinkarrow-up1581arrow-down148
arrow-up1533arrow-down1imageJavalemmy.worldalphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agomessage-square90fedilink
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.