print("{:-^20}".format(pow(78,3)))
print('{:10s} and {:>10s}'.format('hello','world')) # 取10位左对齐,取10位右对齐
print('{} is {:.2f}'.format(1.123,1.123)) # 取2位小数