# Mathspp Blog

### A blog dedicated to mathematics and programming!

This blog has a really interesting assortment of articles on mathematics and programming. You can use the tags to your right to find topics that interest you, or you may want to have a look at

You should also subscribe to the blog newsletter.

##### TIL #008 β two pass join

Today I learned that the .join method in Python is a two-pass algorithm, and that's why joining a list comprehension is faster than a generator expression.

##### TIL #007 β math.nextafter

Today I learned about the math.nextafter method.

##### Conditional expressions | Pydon't π

This Pydon't will teach you how to use Python's conditional expressions.

##### TIL #006 β file unpacking

Today I learned that files can also be unpacked in Python.

##### List comprehensions 101 | Pydon't π

This Pydon't will teach you how the basics of list comprehensions in Python.

##### TIL #005 β string unpacking

Today I learned strings can also be unpacked in Python.

##### TIL #004 β C3 linearisation

Today I learned about an algorithm that Python uses to sort out inheritance.

##### TIL #003 β ICPO rule for attribute lookup

Today I learned about the ICPO rule for attribute lookup in Python.

##### Problem #045 β 1, 2, 3

Figure out the number I'm thinking of with a single question!

##### TIL #002 β fake chess AI

Today I learned about a fake chess-playing AI from the 1700s.

##### TIL #001 β ceiling division in Python

Today I learned how to do ceiling division in Python just with //.

##### set and frozenset | Pydon't π

This Pydon't will teach you how to use the set and frozenset Python built-in types.

##### Problem #044 β send more money

Can you solve this simple-looking arithmetic challenge?