The Python programming language, tutorials, and more

260 330,557 32,230
articles words lines of code

Today I learned how to order the values of a dictionary according to an iterable of keys.

Using ASCII characters we can create a simple rain animation in the terminal.

Today I learned how to get the size of the terminal your code is running on.

This article shows how to implement the set built-in at the expense of a dictionary.