answered 8 years ago
Sage uses the Python programming language, and there is no case statement in Python, instead it is recommended to use if elif elif ..., see:
case
if elif elif ...