Apologies if this has been asked before, but I couldn\'t see it anywhere.
Essentially I\'ve come across a scenario where i need to make use of an if statement inside
In case you want to be lazier:
#syntax lambda x : (false,true)[Condition]
In your case:
rate = lambda(T) : (400*exp(-T),200*exp(-T))[T>200]