Syntax
Python format(): Learn the Syntax Step by Step Paid Members Public
The Chinese version of this article: Python format() 语法详解 [https://ran-blog.com/2021/09/28/python-format-%e8%af%ad%e6%b3%95%e8%af%a6%e8%a7%a3/] Basic Usage print("Hello I am {} and he is {}!".format('Tom','Jerry')) # Output:Hello I am