From a5388d8a3c80fc7777245713c4b1c1d27e2479f2 Mon Sep 17 00:00:00 2001 From: Dave Date: Fri, 17 Jan 2025 14:15:22 +0800 Subject: [PATCH 1/3] Changed the files ex1 and ex2 --- ex1-forloop.py | 2 ++ ex2-dfunction.py | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ex1-forloop.py b/ex1-forloop.py index 74ba289..c27a529 100644 --- a/ex1-forloop.py +++ b/ex1-forloop.py @@ -23,3 +23,5 @@ def count_to_n(x = n): B = 700 C = 900 +P = 999 + diff --git a/ex2-dfunction.py b/ex2-dfunction.py index 1000a6e..98cefa0 100644 --- a/ex2-dfunction.py +++ b/ex2-dfunction.py @@ -18,4 +18,6 @@ def double(n): y = 200 print("Added this line from User-2 account") B = 100 -C = 200 \ No newline at end of file +C = 200 + +P = 9999 \ No newline at end of file From 236f30d722f8bb8cc17056014818af4f6ac2991d Mon Sep 17 00:00:00 2001 From: Dave <66790801+Shievadave@users.noreply.github.com> Date: Fri, 17 Jan 2025 14:34:01 +0800 Subject: [PATCH 2/3] Updated file J = 700 and K = 900 from github-user2 --- ex1-forloop.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ex1-forloop.py b/ex1-forloop.py index c27a529..d82bd9b 100644 --- a/ex1-forloop.py +++ b/ex1-forloop.py @@ -22,6 +22,8 @@ def count_to_n(x = n): print("Added this line from User-2 account") B = 700 C = 900 - P = 999 +print("Added this line from User-2 account") +J = 700 +K = 900 From 069827da96c835442d0c238154299ff61bb03845 Mon Sep 17 00:00:00 2001 From: Dave <66790801+Shievadave@users.noreply.github.com> Date: Fri, 17 Jan 2025 14:34:43 +0800 Subject: [PATCH 3/3] J = 100 and K = 200 --- ex2-dfunction.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ex2-dfunction.py b/ex2-dfunction.py index 98cefa0..5aa0a68 100644 --- a/ex2-dfunction.py +++ b/ex2-dfunction.py @@ -19,5 +19,7 @@ def double(n): print("Added this line from User-2 account") B = 100 C = 200 - -P = 9999 \ No newline at end of file +P = 9999 +print("Added this line from User-2 account") +J = 100 +K = 200