[AppDaemon] Tutorial #2 Errorlog Notifications

Good explanation, I get it now, which leads to another question. Could this be done with a slice?

for error in all_errors_list[0..-2]:

which I think would be easier to understand.