The minimum function is pretty handy in Python, but do you know what goes into implementing it? Let's take a crack at it.
Tag: Testing
Kicking off a new series of reverse engineering content inspired by VirtualFlatCAD. Today, we're trying to roll our own uppercase function.
How to Capitalize a String in Python: Upper(), Capitalize(), And More
When it comes to capitalizing strings in Python, you have a few options. Use the tools Python provides or roll your own.
A silly project I started in 2018 to collect Hello World code snippets now features dozens of projects of which 25 are tested!
How to Convert an Integer to a String in Python: Type Casting and f-Strings
Today, we'll take a look at a few different ways to convert an integer to a string in Python. As it turns out, each solution takes just a couple characters.
How to Swap Variables in Python: Temporary Variables and Iterable Unpacking
Looking for a couple quick ways to swap variables in Python? Look no further than this list.