您提供的程序存在一些错误。正确的实现方式应该是: pythona = '唐代' b = '将近酒' c = '李白' print('{} {} {}'.format(a, b, c)) 这样就可以实现格式化输出这三个变量的值了。