Generate Random numbers with probability : <p>I was wondering how I could generate a list of random number (1, 2) but with different probability. 
ie : 1 has a probability of 0.6 and 2 has a probability of 0.4.</p>

<p>Thanks! </p>
