code: def is_visa(n):
      
      n, length = str(n), len(str(n))
  
      if length >= 13 and length <= 16:
          if n[0] == '4':
              return True
      return False
docs: Checks if credit card number fits the visa format.