Swapping integers in Pythonlemmy.worldimagecross-posted to: bumba@boomer.casinopython@programming.dev KHTangent ( @KHTangent@lemmy.world ) Programmer Humor@lemmy.mlEnglish • 1 year ago message-square5fedilinkarrow-up163
arrow-up163imageSwapping integers in Pythonlemmy.world KHTangent ( @KHTangent@lemmy.world ) Programmer Humor@lemmy.mlEnglish • 1 year ago message-square5fedilinkcross-posted to: bumba@boomer.casinopython@programming.dev
minus-square abclop99 ( @abclop99@beehaw.org ) linkfedilinkEnglish6•1 year agoa = a ^ b b = a ^ b a = a ^ b