For Loop In Single Line In Python