The previous game only allows one try: you have to restart it to propose another word. In this post, I introduce loops, and I use them to repeat the game until the player finds the magic word. This post is … Continue reading →... (more…)
Read more »
The challenge Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, return an empty string "". Example 1: Input: ["flower","flow","flight"] Output: "fl" Example 2: Input: ["dog","racecar","car... (more…)
Read more »
Let’s say you want to store a list of integers in Python: list_of_numbers = [] for i in range(1000000): list_of_numbers.append(i) Those numbers can easily fit in a 64-bit integer, so one would hope Python would store those million integers in no more than... (more…)
Read more »
Daily COVID-19 epidemiological data, piped in to friendly Pandas dataframes, growth modeling (:construction:) - willhaslett/covid-19-growth... (more…)
Read more »
We recently showed that, based on Stack Overflow question visits, Python has a claim to being the fastest-growing major programming language, and that it has become the most visited tag on Stack Overflow within high-income countries. (more…)
Read more »