Improved readability (#1615)

* improved readability

* further readability improvements

* removed csv file and added f
This commit is contained in:
GeorgeChambi
2019-12-07 05:39:59 +00:00
committed by Christian Clauss
parent 938dd0bbb5
commit 9eb50cc223
21 changed files with 44 additions and 50 deletions

View File

@@ -152,6 +152,6 @@ if __name__ == "__main__":
target = int(target_input)
result = binary_search(collection, target)
if result is not None:
print("{} found at positions: {}".format(target, result))
print(f"{target} found at positions: {result}")
else:
print("Not found")