Python Code Using String Like A Pro