jeudi 31 mars 2022

Python program to get the count of happening Largest straight

Seems like my future depends on answering this question I'm completely new to Numpy can someone give me code for this question

You are rolling 5 dice at a time. When the dice come out as 1-2-3-4-5 or 2-3-4-5-6, then it is called a largest straight. Write a python program to get the count of happening largest straight when we simulates rolling five dice 10000 times.




Aucun commentaire:

Enregistrer un commentaire