hydroptic@sopuli.xyz to Programmer Humor@lemmy.ml · 3 months ago"☹️".reverse() == "🙂"sopuli.xyzimagemessage-square10fedilinkarrow-up13arrow-down10
arrow-up13arrow-down1image"☹️".reverse() == "🙂"sopuli.xyzhydroptic@sopuli.xyz to Programmer Humor@lemmy.ml · 3 months agomessage-square10fedilink
minus-squarehydroptic@sopuli.xyzOPlinkfedilinkarrow-up0·3 months agoCalling reverse() on a function should return its inverse
minus-squaretetris11@lemmy.mllinkfedilinkarrow-up1·3 months agoisprime.reverse(True) // outputs 19 billion prime numbers. Checkmate, atheists.
Calling
reverse()
on a function should return its inverse