random.sample.py

This commit is contained in:
Mert Gör ☭ 2023-05-29 16:13:01 +03:00
parent b52328e07f
commit 86daea6e14
No known key found for this signature in database
GPG Key ID: 2100A876D55B39B9
1 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,4 @@
import random
b = random.sample(range(1, 50), 6)
print(b)