https://python.plainenglish.io/mastering-advanced-python-looping-concepts-a-comprehensive-guide-8be9b605ca9e