View Problem

Perform different actions depending on several boolean conditions (IF .. THEN .. ELSIF .. ELSE)

DiskEdit
python
if age > 84:
print 'You are really ancient'
elif age > 30:
print 'You are middle-aged'
else:
print 'You are young'
DiskEdit
clojure
(println
(condp <= age
84 "You are really ancient"
30 "You are middle aged"
"You are young"))

Submit a new solution for python or clojure
There are 20 other solutions in additional languages (cpp, csharp, erlang, fantom ...)