Jérôme M. Berger Wrote:

> > Generate a 4 digit random integer and convert it to a string. It's
> > probably a lot more efficient than the Python version.
> 
>       Except that the Python version ensures that you don't have the same
> digit twice, which just generating a 4 digits random integer won't...

So this trick is not good for captcha and password generation.

Reply via email to