How To Take Character Array Input In Python