Handle if/elsif/else statements