Help about if statement in constraint block

In reply to Reuben:

Yes Naven,Reuben
What I mention is also same but its good practice to use ‘randomize with’.

Regards,
Vinay