KHTangent@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agoSwapping integers in Pythonlemmy.worldimagemessage-square10fedilinkarrow-up171arrow-down10cross-posted to: bumba@boomer.casinopython@programming.dev
arrow-up171arrow-down1imageSwapping integers in Pythonlemmy.worldKHTangent@lemmy.world to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square10fedilinkcross-posted to: bumba@boomer.casinopython@programming.dev
minus-square1stTime4MeInMCU@mander.xyzlinkfedilinkEnglisharrow-up1·1 year agoThat’s like the canonical “swap two pointers” trick
That’s like the canonical “swap two pointers” trick