Randomization

when I randomize a variable the value should be multiples of 4 and cannot multiples of 5.for that below constraint-logic is suitable or not? If any other constraint-logic is there. Please suggest me?
this is the constraint:
constraint addr_range { addr%4 == 0; }
constraint addr_range_1 { addr%5 != 0; }

In reply to anvesh dangeti:

I do not understand your concern. Do those constraints give you result you expect? If they don’t please explain what you expect versus what you see.

the above constraint give the result what I am expecting. Can we get the same result with the Sigle constraint?

I got the same result using this constraint.
constraint addr_range { addr%4 == 0 && addr%5 != 0; }