Python Programming - The Accumulator Pattern
This is a video about a very common pattern in Python programs called "the Accumulator Pattern", which helps us to solve many different programming challenges.
We use the example of a function to convert camelCase to snake_case variable names as an example.
Topics covered:
What are snake_case and camelCase?
Building a function return value starting with an "empty container"
String slicing in Python
Thinking about expected return values before writing a function
The Compucademy website has many articles and resources for learning Python programming and Computer Science in a fun and accessible way: https://compucademy.net/blog/
You can sign up to our mailing list here: http://eepurl.com/gkYOPn
#compsci #python #coding