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

Understanding Django Class-Based Views

One of the key features of Django is its use of class-based views, which provide a way to organise and simplify the process of handling incoming HTTP requests and returning the appropriate response. A class-based view in Django is simply

Python data structures

Python provides several built-in data structures that can be used to store and organize data in an efficient manner. These data structures include lists, tuples, sets, and dictionaries. Lists are one of the most commonly used data structures in Python.

How to inspect elements of a website on an iPhone

You've design a beautiful website that functions and displays fine on your desktop and on the virtual mobile devices from tools like Responsive Web Design Tester Chrome extension. You deploy it and visit the site on your physical only to