One concept that threw me for a loop when I first picked up Python was checking if a string contains a substring. After all, in my first language, Java, the …
Dictionaries by themselves are a great tool, but what if we have more than one? Today, we’re going to learn how to merge two dictionaries in Python.
As with many posts in this series, I’m interested in examining some of the pitfalls when learning to code. Today, we’ll cover the pitfalls when copying mutable data types.
After covering so many common problems, I thought it would be fun just to explore a chunk of syntax known as the list comprehension in Python.
As the collection of sample programs grow, I continue to discover interesting programming language features. In this article, I document some of the coolest programming language features I’ve come across.
When Hello World isn’t interesting enough, it’s time for a new series. To kick off that series, we’re covering Reverse a String in Python.
With Lisp and Scheme out of the way, I figured it might be fun to play with one of Scheme’s dialects, Racket. In this exercise, we’ll implement Hello World in Racket.
Day 10 of 100 Days of Code brought along a bit of a personal challenge: macros. Implementing Hello World in Rust wasn’t as easy as I thought it would be.
Day 9 of 100 Days of Code brings us Hello World in Go, a language by Google. Only 91 more days to go – pun intended!
Sometimes when we’re playing lists, we need to copy them, so we can modify them independently. In this tutorial, we’ll cover several ways to clone a list in Python.