Password Generator with Python #programming #python #flutter #code #tutorial #dart #developer #yt

preview_player
Показать описание
#flutter #python #tutorial #programming #cpp #dart #code
Рекомендации по теме
Комментарии
Автор

Well. `random.Random.sample` makes a collection of unique elements; mathematically you are making a random sequence more likely to be a duplicate of a formerly generated sequence. We can lessen the chances by allowing duplicate elements in the collection:

```
import string
import random

LENGTH = 12


print("".join(random.choices(string.printable.rstrip(), k=LENGTH)))```

eeriemyxi
welcome to shbcf.ru