From 50518a326edf8a6b06af42e6c27fc7a0a79f579e Mon Sep 17 00:00:00 2001 From: Kostanjevec Date: Mon, 2 May 2022 00:17:32 +0200 Subject: [PATCH] mini spremembe --- test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.py b/test.py index 98a96d5..1556e45 100644 --- a/test.py +++ b/test.py @@ -3,7 +3,7 @@ from random import randint, choices #collection clltn = [] -# card = title, due, interval +# card = id, title, due, interval, owned_by, shared def generate_card (clltn=[], user="bob", shared=False): id = len(clltn) + 1 title = "".join([chr(randint(ord('a'), ord('z'))) for i in range(5)]) @@ -14,7 +14,7 @@ def generate_card (clltn=[], user="bob", shared=False): return card def generate_clltn (n_of_cards): - clltn = [] #mogoče bi blo dobro met dictionary, sam žeštejemo len zgoraj... + clltn = [] #mogoče bi blo dobro met dictionary, sam že štejemo len zgoraj... for n in range(n_of_cards): clltn.append(generate_card(clltn=clltn)) return clltn