s = "你好我是{2},我今年{1}歲,我是{0}座"print(s.format("小智", 10, "天蠍"))
8
你好我是天蠍,我今年10歲,我是小智座
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!