Animated cubes
Nothing particularly fancy here, just wanted to do a bit of python coding in blender 2.8, one new thing I was able to add / use because of 2.8 was Collections, saving me the step of having to put objects into a list variable.
Outline and explanation of code below.