we are introducing 100 python tips for beginners to help you program in python professionally. Tip 1: How to use for-else …