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
@ -2,7 +2,7 @@ def search_in_a_sorted_matrix(mat, m, n, key):
|
||||
i, j = m - 1, 0
|
||||
while i >= 0 and j < n:
|
||||
if key == mat[i][j]:
|
||||
print("Key %s found at row- %s column- %s" % (key, i + 1, j + 1))
|
||||
print("Key {} found at row- {} column- {}".format(key, i + 1, j + 1))
|
||||
return
|
||||
if key < mat[i][j]:
|
||||
i -= 1
|
||||
|
Reference in New Issue
Block a user