Hello William,

Thanks for your comment.

1) I did some research and as result tweaked the set example. Thanks for the remark though.

2) Using While 1 is not something significant as already stated. But at least have an advantage over While True.

3) I also tested F-string in linking many strings and the difference was not significant compared to + and join(). Considering that and the fact that f-string is more Pythonic, I think it's a good option.

Cheers

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store