Find String Between Two Characters Python Compiler