How to generate a random 4 digit number not starting with 0 and having unique digits? How to generate a random 4 digit number not starting with 0 and having unique digits? python-3.x python-3.x