Learn Python with Fantasy Football (part 2)

Hi everyone,

This is the second post in a series I'm writing on learning Python with Fantasy Football. In this part of the beginner series, we continue building upon our code that calculates catch rates for various WRs by introducing a few more programming concepts.

So far here's the ordering of posts:

Learn Python with Fantasy Football (part 1)

  • Topics covered: coding environment, print, looping, basic arithmetic, basic data types like lists, dictionaries, strings, integers, and floats

Learn Python with Fantasy Football (part 2)

  • Topics covered: the namespace, built-in objects, user-defined functions, round, positional and keyword arguments

Thanks for reading you guys are awesome! lmk if you have any questions on the post/code

edit: updated topics covered