How To Take Input In Python Using For Loop