a 5 - digit number is formed by the digits 2 , 45 , 68 ( each digit used exactly once ) . what is the probability that the number formed is divisible by 4 ?
import math
n0 = 5.0
n1 = 2.0
n2 = 45.0
n3 = 68.0
n4 = 4.0
t0 = math.factorial(min(15, int(n4)))
t1 = math.factorial(min(15, int(n0)))
t2 = n1 * t0
answer = t2 / t1
print(answer)