From: Vladislav Skukov Date: Sat, 18 May 2019 21:58:25 +0000 (+0500) Subject: fix X-Git-Url: https://git.xn--bdkaa.com/?a=commitdiff_plain;h=4f7f591c5632ccf59724599f080606cd5d8e0f46;p=where-are-you.py.git fix --- diff --git a/string_formats.py b/string_formats.py index df540c8..cc0d428 100644 --- a/string_formats.py +++ b/string_formats.py @@ -1,4 +1,5 @@ def choose_numeral_form(l, form1, form2, form5): + l = int(l) l = l % 100 if (l > 10 and l < 20): return form5