How To Write For Loop In Python