osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


*if any(roll != 1 and roll != 5 for roll in result):*

another extract of py's beauty!

Abdur-Rahmaan Janhangeer
https://github.com/Abdur-rahmaanJ
Mauritius