Initial commit

This commit is contained in:
2024-03-09 17:38:18 +02:00
parent 9009a146f1
commit 73f5354da2
19 changed files with 1977 additions and 0 deletions

8
Lab_5/Namelist.py Normal file
View File

@@ -0,0 +1,8 @@
from random import sample, randint
with open("list.txt") as surnames_list:
surnames = surnames_list.read().splitlines()
surnames = sample(surnames, randint(5, len(surnames)))
print(surnames)