How to convert a String to a Boolean? For example:
str = "False and False or True and True"
str = "( "+str+" )"
str = str.replace("and",") and (")
returns
str == '( False ) and ( False or True ) and ( True )'
How to execute str
for result 'False'?