Can Someone tell me why this code doesn't work

it supposed to generate two random numbers like a dice on two 7 segment LED displays