hairinmybellybutt@lemmy.world to Programmer Humor@lemmy.mlEnglish · 2 年前would you write web app with this?lemmy.worldimagemessage-square54linkfedilinkarrow-up1282arrow-down132
arrow-up1250arrow-down1imagewould you write web app with this?lemmy.worldhairinmybellybutt@lemmy.world to Programmer Humor@lemmy.mlEnglish · 2 年前message-square54linkfedilink
minus-squareGebruikersnaam@lemmy.mllinkfedilinkarrow-up3·2 年前It is but if you start with a float you get a float back.
minus-squareGebruikersnaam@lemmy.mllinkfedilinkarrow-up1·2 年前Was 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.