Answers for "how to use ,format in python"

1

how to do formatting in python with format function

age = 36
txt = "his age is {}"
print(txt.format(age))
Posted by: Guest on December-22-2021

Code answers related to "how to use ,format in python"

Python Answers by Framework

Browse Popular Code Answers by Language