rastgele üç eleman

This commit is contained in:
Mert Gör ☭ 2023-05-29 15:42:35 +03:00
parent 4143660cb4
commit 661729c629
No known key found for this signature in database
GPG Key ID: 2100A876D55B39B9
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
import random
a = ['ali', 'veli', 'selami', 'ayşe', 'fatma']
val = random.choices(a, k = 3)
print(val)