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'

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