diff --git a/exercises/1901100357/1001S02E01_helloworld.txt b/exercises/1901100357/1001S02E01_helloworld.txt new file mode 100644 index 000000000..76a760a36 --- /dev/null +++ b/exercises/1901100357/1001S02E01_helloworld.txt @@ -0,0 +1 @@ +HOMEWORK 5.5 \ No newline at end of file diff --git a/exercises/1901100357/1001S02E02_hello_python.py b/exercises/1901100357/1001S02E02_hello_python.py new file mode 100644 index 000000000..599863043 --- /dev/null +++ b/exercises/1901100357/1001S02E02_hello_python.py @@ -0,0 +1 @@ +print ("Hello World!") diff --git a/exercises/1901100357/1001S02E03_calculator.py b/exercises/1901100357/1001S02E03_calculator.py new file mode 100644 index 000000000..f7909212d --- /dev/null +++ b/exercises/1901100357/1001S02E03_calculator.py @@ -0,0 +1,28 @@ +def add(x, y): + print("adding {} and {}".format(x, y)) + return x + y + + +def subtract(x, y): + print("subtracting {} and {}".format(x, y)) + return x - y + + +def multipy(x, y): + print("multipying {} and {}".format(x, y)) + return x * y + + +def divide(x, y): + print("dividing {} and {}".format(x, y)) + return x / y + +a = add(1, 2) +s = subtract(2, 3) +m = multipy(3, 4) +d = divide(18, 3) + +print(a) +print(s) +print(m) +print(d) \ No newline at end of file diff --git a/exercises/1901100357/README.md b/exercises/1901100357/README.md new file mode 100644 index 000000000..e69de29bb