Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

embed variables python

#Pre 3.6
print('Hi, my name is {name} and my age is {age}'.format(**locals()))

#After 3.6
print('Hi, my name is {name} and my age is {age}')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #embed #variables #python
ADD COMMENT
Topic
Name
8+9 =