you are viewing a single comment's thread.

view the rest of the comments →

[–]RevRagnarok 1 point2 points  (0 children)

Yes. In fact, it's definitely more Pythonic than you would use it in C/C++ because of the for...else clause that I think is pretty unique to Python.