Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to do formatting in python with format function

age = 36
txt = "his age is {}"
print(txt.format(age))
Source by he-arc.github.io #
 
PREVIOUS NEXT
Tagged: #formatting #python #format #function
ADD COMMENT
Topic
Name
1+2 =