Yes, in fact I was thinking in `type(i).__name__`, but your solution is good...