DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to insert a variable into a string python
>>> name = "Fred" >>> f"He said his name is {name}." 'He said his name is Fred.'
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#insert
#variable
#string
#python
ADD COMMENT
Topic
COMMENT
Name
1+4 =
Submit