How To Accept List As Input In Python