I am supposed to print a random 5-digit number with no repeating digits, then ask the user for a three digit number. If the user\'s number contains three digits from the ran
Take a random sample of the digits 0 to 9:
''.join(random.sample('0123456789', 5))