Improved readability (#1615)
* improved readability * further readability improvements * removed csv file and added f
This commit is contained in:
committed by
Christian Clauss
parent
938dd0bbb5
commit
9eb50cc223
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user