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

Abdur-Rahmaan Janhangeer arj.python at gmail.com
Wed Oct 10 16:22:50 EDT 2018


*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



More information about the Python-list mailing list