DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python get first character of string
string = 'This is a string' print(string[0]) #output: 'T'
PREVIOUS
NEXT
Tagged:
#python
#character
#string
ADD COMMENT
Topic
COMMENT
Name
9+9 =
Submit