Multiple For Loop In Python Using Pip