How To Take Input In Python In One Line For A List