DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python divide string in half
firstpart, secondpart = string[:len(string)/2], string[len(string)/2:]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#divide
#string
ADD COMMENT
Topic
COMMENT
Name
8+7 =
Submit