DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
inserting a charcater in a pyhtong string at a specific index
a_string = a_string[:1] + "b" + a_string[1:]
Source by www.kite.com #
PREVIOUS
NEXT
Tagged:
#inserting
#charcater
#pyhtong
#string
#specific
#index
ADD COMMENT
Topic
COMMENT
Name
7+4 =
Submit