How to test multiple flags at once in Python

visibility 20 回視聴 schedule 8年前 timer 3:51
open_in_new Dailymotion
A PyTrick on evaluating multiple flags at once in Python. The video covers the 4 different ways for multiple flag evaluation.<br /><br />Note: At 1:51, it should be "if 1 in (x,y,z)" instead of "if 1 in (x,y,x)"