From 889a956785c23abb508a9301e1e2be142c8fbe93 Mon Sep 17 00:00:00 2001 From: GameLogist <36932180+GameLogist@users.noreply.github.com> Date: Tue, 2 Oct 2018 23:55:18 +0530 Subject: [PATCH] Would appreciate if the docs were in English. --- countPm.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/countPm.py b/countPm.py index 3c54d69..4d63144 100644 --- a/countPm.py +++ b/countPm.py @@ -3,8 +3,7 @@ def count_pm(*args): alist = list([round(i*2-8,2) for i in args]) #计算三种颗粒浓度 result = [] for pm in alist: - pm_abs = abs(pm) - result.append(generate_iso_code(pm_abs)) + result.append(generate_iso_code(abs(pm))) print (result) return result