The Python snippet collection contains helper functions for Python 3.6. It includes utilities for most common data types, such as primitivies, lists, dictionaries and date objects.
Generates a list, containing the Fibonacci sequence, up until the nth term.
Python, Math · Nov 2, 2020
Finds the first key in the provided dictionary that has the given value.
Python, Dictionary · Nov 2, 2020
Learn 3 easy ways to swap the values of two variables in Python.
Python, Variables · Nov 7, 2021
Tests a value, x
, against a testing function, conditionally applying a function.
Python, Function · Nov 9, 2020
Checks if all elements in a list are equal.
Python, List · Oct 11, 2020