Coding

Could you demonstrate how to code a six-sided die roll simulation and ensure its fairness?

Did you come across this question in an interview?

Interview question asked to Data Scientists and Machine Learning Engineers interviewing at Scribd, Tableau, Deliveroo and others: Could you demonstrate how to code a six-sided die roll simulation and ensure its fairness?.