aboutsummaryrefslogtreecommitdiff
path: root/Semestr 3/pf/lista6/test.py
blob: 2163ab6995fb9f27e0f2dbaef857d1341bd413e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)