(WIP) refactor to extract scan constants

This commit is contained in:
klemek
2021-01-07 18:28:52 +01:00
parent 69c451d3aa
commit 03003f24b0
5 changed files with 39 additions and 35 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ def aggregate(names: List[str]) -> str:
def plural(count: int, word: str) -> str:
return str(count) + " " + word + "s" if count == 1 else ""
return str(count) + " " + word + ("s" if count != 1 else "")
def day_interval(interval: int) -> str: