Difference Between While And For Loop In Python