Re: Creating dice game : NEED HELP ON CHECKING ELEMENTS IN A LIST

2018-10-06 Thread eliteanarchyracer
Well these worked like a charm. Cant say I understand some of them and will have to look into utilizing them in the future, but I appreciate everyones responses and thank you all. Never needed to check for multiple instances in a list before. Nice to have help! -- https://mail.python.org/mailm

Creating dice game : NEED HELP ON CHECKING ELEMENTS IN A LIST

2018-10-06 Thread eliteanarchyracer
Hi, I am new to python and would like someones help on the following: After rolling 5 dice and putting the results into a list, I need to check if any dice is not a 1 or 5. if all dice in the list are either a 1 or 5 , I want to calculate a result. if there is a 2,3,4 or 6 in the list i want to