Walmart Global Tech interview question

Simulate N throws of a biased die without using numpy