From 42b8628b73bd71499adcbae9b7ccde82508397f8 Mon Sep 17 00:00:00 2001 From: baphim <269010393+baphim@users.noreply.github.com> Date: Sat, 12 Sep 2026 20:09:48 -0400 Subject: [PATCH] fix: corrected syntax errors in problem-01 --- .idea/.gitignore | 3 +++ .idea/cybr108.iml | 12 ++++++++++++ .idea/inspectionProfiles/profiles_settings.xml | 6 ++++++ .idea/misc.xml | 4 ++++ .idea/modules.xml | 8 ++++++++ .idea/vcs.xml | 6 ++++++ lab-02/problem-01.py | 2 +- 7 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/cybr108.iml create mode 100644 .idea/inspectionProfiles/profiles_settings.xml 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/cybr108.iml b/.idea/cybr108.iml new file mode 100644 index 0000000..07aa05f --- /dev/null +++ b/.idea/cybr108.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file 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/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..bf5ec97 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..e6f1677 --- /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 diff --git a/lab-02/problem-01.py b/lab-02/problem-01.py index 43e5c99..de6f02e 100644 --- a/lab-02/problem-01.py +++ b/lab-02/problem-01.py @@ -1,7 +1,7 @@ # Write a Python program to handle a ZeroDivisionError exception when dividing a number by zero -def divide(x, y) +def divide(x, y): try: # try to divide the provided values and store in variable: answer answer = x / y