Oli Guei

A collection of 52 posts

Nudge theory in Behavioural Economics

Nudge theory, first introduced by Richard Thaler and Cass Sunstein in their 2008 book "Nudge: Improving Decisions About Health, Wealth, and Happiness," is a concept in behavioural economics that suggests small changes in the environment can influence people to make

Python's built-in enumerate function

In this post, I'm going to look at Python's enumerate() function using Python version 3.5. What is the enumerate function? According to the documentation, this function returns an enumerate object when you pass an iterable which must be a