code: def itin(self):
          
  
          area = self.random_int(min=900, max=999)
          serial = self.random_int(min=0, max=9999)
  
          # The group number must be between 70 and 99 inclusively but not 89 or 93
          group = random.choice([x for x in range(70, 100) if x not in [89, 93]])
  
          itin = "{0:03d}-{1:02d}-{2:04d}".format(area, group, serial)
          return itin
docs: Generate a random United States Individual Taxpayer Identification Number (ITIN).
  
          An United States Individual Taxpayer Identification Number
          (ITIN) is a tax processing number issued by the Internal
          Revenue Service. It is a nine-digit number that always begins
          with the number 9 and has a range of 70-88 in the fourth and
          fifth digit. Effective April 12, 2011, the range was extended
          to include 900-70-0000 through 999-88-9999, 900-90-0000
          through 999-92-9999 and 900-94-0000 through 999-99-9999.
          https://www.irs.gov/individuals/international-taxpayers/general-itin-information