How To Take String List Input In Python Is Not Working