Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
For a beginner I would consider this code to be pretty good. The code structure is clean, and has nothing "superfluous" - all the code is necessary, and the use of standard library functions to do the work is great. The only real criticism I have is in the variable names. , , and are crummy names. With a simple variable rename, your code is significantly better: Hmm, that makes a few things more obvious....
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.