From c205ee21eedd17c963f3c6c7382113d6ab1d01b2 Mon Sep 17 00:00:00 2001 From: Sohail <56115003+Sohailsaifi@users.noreply.github.com> Date: Sat, 26 Oct 2019 17:25:06 +0530 Subject: [PATCH 1/2] Update tuplesExample.py New example added --- tuplesExample.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tuplesExample.py b/tuplesExample.py index 866a9ff..e2d5633 100644 --- a/tuplesExample.py +++ b/tuplesExample.py @@ -26,4 +26,12 @@ # iterating through tuples for x in tupC: - print(x) \ No newline at end of file + print(x) + + + + ######## + +thistuple = ("apple", "banana", "cherry") +print(thistuple) + From 83dbfe41c7abcfe8c0dff380d54924e9445de7ed Mon Sep 17 00:00:00 2001 From: Sohail <56115003+Sohailsaifi@users.noreply.github.com> Date: Tue, 14 Jan 2020 22:04:11 +0530 Subject: [PATCH 2/2] Update linear_search.py Fixed the print syntax to avoid the errors. --- linear_search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linear_search.py b/linear_search.py index 1030c7a..4864589 100644 --- a/linear_search.py +++ b/linear_search.py @@ -12,4 +12,4 @@ def linear_search(array, to_find): return to_return nums = [12, 34, 54, 88, 21] -print linear_search(nums, 88) \ No newline at end of file +print(linear_search(nums, 88))