mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-19 10:48:58 +08:00
pyupgrade --py37-plus **/*.py (#1654)
* pyupgrade --py37-plus **/*.py * fixup! Format Python code with psf/black push
This commit is contained in:

committed by
John Law

parent
34c808b375
commit
28419cf839
@ -46,13 +46,11 @@ def solution():
|
||||
"""
|
||||
|
||||
return sum(
|
||||
set(
|
||||
[
|
||||
int("".join(pandigital[5:9]))
|
||||
for pandigital in itertools.permutations("123456789")
|
||||
if isCombinationValid(pandigital)
|
||||
]
|
||||
)
|
||||
{
|
||||
int("".join(pandigital[5:9]))
|
||||
for pandigital in itertools.permutations("123456789")
|
||||
if isCombinationValid(pandigital)
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user