ricoyan
1/4/2019 - 7:34 AM

[format] 小数输出

[format] 小数输出

print('acc: {0:.2f}%,wrong number: {1}'.format(accuracy / len(data) * 100, len(data) - accuracy))