Index of min element
Returns the index of the element with the minimum value in a list.
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.
Returns the index of the element with the minimum value in a list.
Calculates the average of two or more numbers.
Generates a list, containing the Fibonacci sequence, up until the nth term.
Clamps num
within the inclusive range specified by the boundary values.
Checks if the given number falls within the given range.
Checks if the provided integer is a prime number.
Pads a given number to the specified length.
Calculates the factorial of a number.
Calculates the number of ways to choose k
items from n
items without repetition and without order.
Converts an angle from degrees to radians.
Converts an angle from radians to degrees.
Returns the binary representation of the given number.
Returns the hexadecimal representation of the given number.