How To Use Foreach In Python