W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
python_string_formatting_5.py:
age = 63 name = "Bill" txt = "His name is {1}. {1} is {0} years old." print(txt.format(age, name))