From c660fbed91429a1735d41644f5502284c2daaac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Luka=20=C5=A0ijanec?= Date: Fri, 1 Sep 2023 14:42:26 +0200 Subject: =?UTF-8?q?dav=C4=8Dna?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- skripti/p.py | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100755 skripti/p.py (limited to 'skripti/p.py') diff --git a/skripti/p.py b/skripti/p.py deleted file mode 100755 index 82263bc..0000000 --- a/skripti/p.py +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/python3 -from sys import argv -s = 0 -m = [x for x in range(3,14)] -for z in argv[1]: - x = m.pop() - s += x * int(z) -k = 11-s%11; -if k > 9: - k = 0 -print(f"{argv[1]}{k}") -- cgit v1.2.3