1234567890

1234567890

1234567890

8675309

It’s a prime number

def isprime(n):
	if n < 2:
		return False
	if n > 2 and n%2 == 0:
		return False
	else:
		for i in range(3, int(n//n**0.5)+1,2):
			if n % i == 0:
				return False
		return True

7652413 is the largest pandigital prime