diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..096746c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/node_modules/ \ No newline at end of file diff --git a/README.md b/README.md index 8a9ed3c..7e5344d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ # github_ws -This repo is a teaching example for the Github Workshop. +This repo is a teaching example for the Github Workshop.
The material is created by NTU DAC 5th directors of Acdaemic Affairs diff --git a/main.py b/main.py index 4012c7d..bd68f90 100644 --- a/main.py +++ b/main.py @@ -1,8 +1,8 @@ def add(a: int, b: int) -> int: - return a - b + return a + b def multiply(a: int, b: int) -> int: - pass + return a * b if __name__ == "__main__": print("Please input the calculation you want: ") @@ -14,4 +14,5 @@ def multiply(a: int, b: int) -> int: if mode == "add": print(f"The sum of {a} and {b} is: {add(a, b)}") elif mode == "multiply": - print(f"The multiplication of {a} and {b} is: {multiply(a, b)} ") \ No newline at end of file + print(f"The multiplication of {a} and {b} is: {multiply(a, b)} ") + print("Hello") diff --git a/test.py b/test.py new file mode 100644 index 0000000..e69de29