a = '开始下载' b = '下载完成' print(a.center(62, '=')) print("55% [{}]".format(29*'='+29*'.')) print(b.center(62, '=')) print("100%[{}]".format(58*'='))