Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

partition python

#partition for strings

SYNTAX:
string.partition(value)


EXAMPLE:
txt = "I could eat bananas all day"

x = txt.partition("bananas")

print(x)
 
PREVIOUS NEXT
Tagged: #partition #python
ADD COMMENT
Topic
Name
2+8 =