Oh... Well, thanks for that information. I'll do this then:
def TernaryOperation(condition,true_part,false_part):
if condition:
return True-part
else:
return False-part
a = {'Huge': TernaryOperation(quantity>90,True,False)}
Thank you
--
http://mail.python.org/mailman/listinfo/python-list
