mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-21 20:47:10 +08:00
Various ruff fixes (#12821)
This commit is contained in:
@ -79,7 +79,7 @@ class HillCipher:
|
||||
>>> hill_cipher.replace_digits(26)
|
||||
'0'
|
||||
"""
|
||||
return self.key_string[round(num)]
|
||||
return self.key_string[(num)]
|
||||
|
||||
def check_determinant(self) -> None:
|
||||
"""
|
||||
|
Reference in New Issue
Block a user