mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 09:21:13 +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
@ -78,7 +78,7 @@ class HillCipher:
|
||||
req_l = len(self.key_string)
|
||||
if gcd(det, len(self.key_string)) != 1:
|
||||
raise ValueError(
|
||||
"discriminant modular {0} of encryption key({1}) is not co prime w.r.t {2}.\nTry another key.".format(
|
||||
"discriminant modular {} of encryption key({}) is not co prime w.r.t {}.\nTry another key.".format(
|
||||
req_l, det, req_l
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user