I want elapsed time, use class, generator, or function? @gjenkinsedu
I want elapsed time, use class, generator, or function?  @gjenkinsedu
Uploaded March 2018 | Updated September 2026, 3 weeks ago
Code link below.
Short video showing three way to create a simple elapsed time encapsulated thing in python. This should generate some good discussion of which is the best choice. My choice is the functional approach here.

code at gitHubGist: gist.github.com/gerryjenkinslb/057b61318675fa0523e7be27604d7dde

subscribe here: goo.gl/ZgZrZ5
I want elapsed time, use class, generator, or function?Introduction 15 | Fraction 2Drawing SVG paths in Python to PyGameTrees 11 | Binary Search Trees 1Set-Up Visual Studio Code for Java on MacSearch/Sort 7 | Selection SortSearch/Sort 1 | Sequential and binary Search 1Python f-strings. Formating faster and betterIntroduction 12 | Control Structures in PythonPython Gen for Simple Moving AverageIntroduction 18 | iPython and inheritanceAnalysis 2 | Big-O 2
Professor Gerry Jenkins |

I want elapsed time, use class, generator, or function?

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER