hairinmybellybutt@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agowould you write web app with this?lemmy.worldimagemessage-square54fedilinkarrow-up1286arrow-down131
arrow-up1255arrow-down1imagewould you write web app with this?lemmy.worldhairinmybellybutt@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square54fedilink
minus-squareGebruikersnaam@lemmy.mllinkfedilinkarrow-up3·1 year agoIt is but if you start with a float you get a float back.
minus-squareChrobin@discuss.tchncs.delinkfedilinkarrow-up2·1 year agoYou’re right, I did not know that. Thanks!
minus-squareGebruikersnaam@lemmy.mllinkfedilinkarrow-up1·1 year agoWas really surprised by this too, because iirc Python 2 did not do this.
Isn’t
//
integer division?It is but if you start with a float you get a float back.
You’re right, I did not know that. Thanks!
Was really surprised by this too, because iirc Python 2 did not do this.