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))
 
PREVIOUS NEXT
Tagged: #formatting #python #format #function
ADD COMMENT
Topic
Name
3+9 =