mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 09:21:13 +08:00
Set the Python file maximum line length to 88 characters (#2122)
* flake8 --max-line-length=88 * fixup! Format Python code with psf/black push Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
@ -1,7 +1,8 @@
|
||||
"""
|
||||
The number of partitions of a number n into at least k parts equals the number of partitions into exactly k parts
|
||||
plus the number of partitions into at least k-1 parts. Subtracting 1 from each part of a partition of n into k parts
|
||||
gives a partition of n-k into k parts. These two facts together are used for this algorithm.
|
||||
The number of partitions of a number n into at least k parts equals the number of
|
||||
partitions into exactly k parts plus the number of partitions into at least k-1 parts.
|
||||
Subtracting 1 from each part of a partition of n into k parts gives a partition of n-k
|
||||
into k parts. These two facts together are used for this algorithm.
|
||||
"""
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user