Skip to content

Partition Function with Python

hvaandres profile image Andres Haro twitter logo github logo ・1 min read

The partition() method searches for a specified string and splits the string into a tuple containing three elements. The first element contains the part before the specified string. The second element contains the specified string. The third element contains the part after the string.

twitter logo DISCUSS
markdown guide
Classic DEV Post from Aug 1 '19

Which loading GIF do you prefer?

I made some loading gifs

Andres Haro profile image
I'm a Software & Web Developer with a passion for solving issues. Also, I love to work hard and put a lot of effort into things that I do not know yet.