I want to generate 4 random numbers that are all different from eachother.

For some reason the numbers aren't always different from eachother. Any help to fix this?Code:import random def oblio(): a = 0 b = 0 c = 0 d = 0 while ( a == b & a == c & a == d & b == c & b == d & c == d): a = random.randint(1,9) b = random.randint(1,9) c = random.randint(1,9) d = random.randint(1,9) print a,b,c,d oblio()