mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-06 10:31:29 +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
@ -101,7 +101,7 @@ def encryptAndWriteToFile(
|
||||
for i in range(len(encryptedBlocks)):
|
||||
encryptedBlocks[i] = str(encryptedBlocks[i])
|
||||
encryptedContent = ",".join(encryptedBlocks)
|
||||
encryptedContent = "%s_%s_%s" % (len(message), blockSize, encryptedContent)
|
||||
encryptedContent = "{}_{}_{}".format(len(message), blockSize, encryptedContent)
|
||||
with open(messageFilename, "w") as fo:
|
||||
fo.write(encryptedContent)
|
||||
return encryptedContent
|
||||
|
Reference in New Issue
Block a user