Update linear_search.py (#1906)

This commit is contained in:
Prince Gangurde 2020-04-24 16:04:18 +05:30 committed by GitHub
parent b560b76002
commit 58271c5851
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,6 @@ if __name__ == "__main__":
target = int(target_input)
result = linear_search(sequence, target)
if result is not None:
print(f"{target} found at positions: {result}")
print(f"{target} found at position : {result}")
else:
print("Not found")