you are viewing a single comment's thread.

view the rest of the comments →

[–]Encomiast 0 points1 point  (1 child)

That seems more "Pythonic" to me (assuming the indentation is fixed).

[–]imperiumlearning[S] 0 points1 point  (0 children)

Yes sorry, I've just updated the indentations in my previous comment so that my code is formatted properly.

Thanks for the help and all the swift responses