Nov-06-2018, 12:11 PM
(Nov-06-2018, 08:51 AM)Gribouillis Wrote: You can also usespin in system is already a bool, no need to cast it
return bool(spin in system)This makes it explicit that the return value isTrue
orFalse
, although this is probably already the case with thein
operator.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs