[REBOL] [expression] quick question
From: maximo::meteorstudios::com at: 25-Feb-2004 8:43
can anyone tell me if there is an equivalent in python for the following rebol code?
flag: false
value: either flag ["orange"]["Mr T"]
in other words, is it possible to assign a value to a variable, from the result of statements
in python?
This is what I am trying to avoid:
flag = False
if flag == true:
value = 'orange'
else:
value = 'Mr T'
TIA!
-MAx
---
You can either be part of the problem or part of the solution, but in the end, being
part of the problem is much more fun.