We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f17ddaa + 76f46cc commit ef446beCopy full SHA for ef446be
1 file changed
calculator.py
@@ -1,16 +1,15 @@
1
-def multiply(a,b):
2
- return a * b
3
-
4
-def add(a,b):
5
- return a+b
6
7
-def subtract(a,b):
8
- return a-b
9
10
-def divide(a,b):
11
- return a/b
12
13
14
-print("I'm going use the calculator functions to multiply 5 and 6")
15
-x = multiply(5,6)
16
-print(x)
+def add(a, b):
+ return a + b
+
+def subtract(a, b):
+ return a - b
+def multiply(a, b):
+ return a * b
+def divide(a, b):
+ return a / b
+print("I'm going use the calculator functions to divide 30 by 6")
+x = divide(30,6)
+print(x)
0 commit comments