I am pretty new to coding. I have had some luck with VBA. So python why not! I am reading Eric Matthews, Python Crash Course 2nd edition. I am working with string data type. I'd like to further one of his exercises. I want to be able to store the names of authors and their quotes. I'd like to italics the quote. I was able to use, python -m pip install docx. I did install it. I do not own Microsoft Word. I can't use the package. I was wondering about using Google Docs, but it is an API. I am working pretty hard to use python packages. Is there another free word processing program I could use to run my code and have the quote be italics?
Here is my code just to store the name of the author and the quote.
Here is my code just to store the name of the author and the quote.
first_name = "Eric" last_name = "Carl" quote = "[i]My oh my, how the days have flown by since we have met[/i]." name_quote = (f"{first_name.title()} {last_name.title()} \n\t {quote}") print(name_quote)