Almost five years working as a Python dev, and I still cannot remember the name of the function to remove whitespace from the beginning and end of a string.

Somehow it's stuck in my brain that it's called trim()

IT'S STRIP() STEFAN, STRIP()

Reply to this note

Please Login to reply.

Discussion

Leave your clothes on Stefan. You are being watched! 😂😂🤣🤣