python_L3

1.Suggest that testing equality of floats is not exact – Use abs(x-y) < 0.0001, rather than x == y

2. str.swapcase():upper to lower,lower to upper, a copy

原文地址:https://www.cnblogs.com/njuzwr/p/4470718.html