-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathrandom_grup.py
More file actions
45 lines (40 loc) · 858 Bytes
/
random_grup.py
File metadata and controls
45 lines (40 loc) · 858 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
import curses
import os
import time
from random import randint
kisiler = ["Betül Tezel",
"Orçun",
"Deryak",
"Elis",
"Semiha",
"Muzaffer",
"Tolga",
"Adil",
"Erkan",
"İlter",
"Vahit",
"Furkan",
"Kadir",
"Betül",
"Elif",
"Mehmet",
"Seda",
"Eda",
"Defne",
"Esra",
"Osman",
"Hayri",
"Burak",
"Ertan"]
for z in range(0,4):
grup = []
print("GRUP",z,"#"*100)
for i in range(0,6):
cikan = kisiler[randint(0,len(kisiler)-1)]
grup.append(cikan)
kisiler.remove(cikan)
if i < 9:
time.sleep(0.2)
else:
time.sleep(0.1)
print(grup)