DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
string pick the first 2 characters python
t = "your string" t[:2]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#string
#pick
#characters
#python
ADD COMMENT
Topic
COMMENT
Name
2+7 =
Submit