May-28-2019, 01:30 PM
(May-28-2019, 01:25 PM)buran Wrote: please, both of you, note that
if market['IsActive'] == True and market['IsRestricted'] == False:is better as
if market['IsActive'] and not market['IsRestricted']:market['IsActive']
andmarket['IsRestricted']
are booleans, use it
That's true. I did notice they were booleans and that surprised me. But for me being an inept new Python user, I think I would rather actually put in the unneeded True and False just to remind myself.