Multiple For Loop In Python Explained