输出格式不对,print函数加上sep='='后,会有两个==
print('L', '{:.2f}'.format(L), sep='=') // 另一种写法 print('L=', '{:.2f}'.format(L))