Hi All How can we generate a 6 digit random number from a given number ? eg:- def number_generator(id): random.randint(id,999999) When i am using this it is sometimes giving me five digit and sometimes 6 . I want to avoid encryption . Can i have alphanumeric 6 digit random number from this . Thanks in advance -- Regards Nikhil Verma +91-958-273-3156 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-list/attachments/20120326/ff1e29ca/attachment.html>