mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-20 11:32:07 +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
@ -4,7 +4,7 @@ start_time = time.time()
|
||||
print("creating word list...")
|
||||
path = os.path.split(os.path.realpath(__file__))
|
||||
with open(path[0] + "/words") as f:
|
||||
word_list = sorted(list(set([word.strip().lower() for word in f])))
|
||||
word_list = sorted(list({word.strip().lower() for word in f}))
|
||||
|
||||
|
||||
def signature(word):
|
||||
|
Reference in New Issue
Block a user