Python Input Variable Into String Trimmer