Python 字符串拼接 使用 .format()做字符串拼接。 name = 'Louis' year = 19 print('Hello, My name is {0}, I'm {1} years old'.format(name, year))