Nov-30-2018, 09:01 PM
Hm! It's the same for me.
If a condition is True you take some actions. So if
For me,
If a condition is True you take some actions. So if
condition
evaluates to True condition is True
also evaluates to True. You can get it in that way too: bool(condition)
. The condition is an expression which returns a boolean - True or False.For me,
if condition is True
is the same as for index in range(len(items))
.