In this video we introduce using a user-defined function and for loops in conjunction with the format class from the xlsxwriter module. This is done to demonstrate avoiding repetitive code.
Link to a companion video (same thing with no for loops or user defined function): • Introduction to Formatting Excel File...
Full code used is available at https://github.com/patrickjlong1/pyth...