From 6ae028bf7d7bfc52febd71a9268e4ef56ccffeeb Mon Sep 17 00:00:00 2001 From: "github-classroom[bot]" <66690702+github-classroom[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 16:51:48 +0000 Subject: [PATCH 1/4] Setting up GitHub Classroom Feedback From 891cccf50892b25a840e80d03f42cd1bb01ac57d Mon Sep 17 00:00:00 2001 From: "github-classroom[bot]" <66690702+github-classroom[bot]@users.noreply.github.com> Date: Mon, 7 Oct 2024 16:51:50 +0000 Subject: [PATCH 2/4] add deadline --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index ce9d6ee..af75d93 100644 --- a/README.md +++ b/README.md @@ -1 +1,2 @@ +[![Review Assignment Due Date](https://classroom.github.com/assets/deadline-readme-button-22041afd0340ce965d47ae6ef1cefeee28c7c493a6346c4f15d667ab976d596c.svg)](https://classroom.github.com/a/5QGzH_HS) # Lab3 \ No newline at end of file From 5855ffd38d22e371aaf4bc365162b2095c9cd59f Mon Sep 17 00:00:00 2001 From: RishubPatel Date: Wed, 9 Oct 2024 08:35:54 -0700 Subject: [PATCH 3/4] Debugged double() changed n*n to 2*n --- functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.py b/functions.py index a15fca4..06363f1 100644 --- a/functions.py +++ b/functions.py @@ -2,5 +2,5 @@ # Input: a number to be doubled # Result: a number def double(n:int) -> int: - result = n * n + result = 2 * n return result From f0d26f66e0c48ee4b2c41b67fe5ab632df4d784c Mon Sep 17 00:00:00 2001 From: RishubPatel Date: Wed, 9 Oct 2024 08:36:14 -0700 Subject: [PATCH 4/4] Debugged double() changed n*n to 2*n --- .idea/.gitignore | 3 +++ .idea/inspectionProfiles/profiles_settings.xml | 6 ++++++ .idea/lab-3-RishubPatel.iml | 8 ++++++++ .idea/misc.xml | 7 +++++++ .idea/modules.xml | 8 ++++++++ .idea/vcs.xml | 6 ++++++ 6 files changed, 38 insertions(+) create mode 100644 .idea/.gitignore create mode 100644 .idea/inspectionProfiles/profiles_settings.xml create mode 100644 .idea/lab-3-RishubPatel.iml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml new file mode 100644 index 0000000..105ce2d --- /dev/null +++ b/.idea/inspectionProfiles/profiles_settings.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/lab-3-RishubPatel.iml b/.idea/lab-3-RishubPatel.iml new file mode 100644 index 0000000..d0876a7 --- /dev/null +++ b/.idea/lab-3-RishubPatel.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..db8786c --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,7 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..d187543 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file