Organizing Python Codes Using Functions If A Word