KHTangent@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agoSwapping integers in Pythonlemmy.worldimagemessage-square7fedilinkarrow-up163arrow-down11cross-posted to: bumba@boomer.casinopython@programming.dev
arrow-up162arrow-down1imageSwapping integers in Pythonlemmy.worldKHTangent@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square7fedilinkcross-posted to: bumba@boomer.casinopython@programming.dev
minus-squaresocsa@lemmy.mllinkfedilinkEnglisharrow-up1·1 year agoAlso don’t forget that int() only truncates the decimal and doesn’t round. This has fucked me over several times.
Also don’t forget that int() only truncates the decimal and doesn’t round. This has fucked me over several times.