News

That loop is creating a load of empty dictionaries, then your second loop is overwriting those dictionaries with new ones that have your desired data already contained within.
Physics and Python stuff. Most of the videos here are either adapted from class lectures or solving physics problems. I really like to use numerical calculations without all the fancy programming ...
Iterating complex data structures I first learned to program in an early version of FORTRAN, where the only data structuring capability was an array. I quickly learned how to iterate over an array ...