From c5fcf7179a83ef65c86c6a4a390029149e518649 Mon Sep 17 00:00:00 2001 From: Franciszek Malinka Date: Tue, 5 Oct 2021 21:49:54 +0200 Subject: Duzy commit ze smieciami --- semestr-3/pf/lista6/test.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 semestr-3/pf/lista6/test.py (limited to 'semestr-3/pf/lista6/test.py') diff --git a/semestr-3/pf/lista6/test.py b/semestr-3/pf/lista6/test.py new file mode 100644 index 0000000..2163ab6 --- /dev/null +++ b/semestr-3/pf/lista6/test.py @@ -0,0 +1,14 @@ +import random +import sys + +random.seed(sys.argv[1]) + +t = [] +n = int(sys.argv[2]) +t = [1] +print(n) + +fir i in range(n): + ojc = random.choice(t) + print(i, ojc) + t.append(i) \ No newline at end of file -- cgit v1.2.3