summaryrefslogtreecommitdiff
path: root/wk6/lect
diff options
context:
space:
mode:
Diffstat (limited to 'wk6/lect')
-rw-r--r--wk6/lect/calculator.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wk6/lect/calculator.py b/wk6/lect/calculator.py
index d6886ee..e673690 100644
--- a/wk6/lect/calculator.py
+++ b/wk6/lect/calculator.py
@@ -1,4 +1,4 @@
-x = input("x: ")
-y = input("y: ")
+x = int(input("x: "))
+y = int(input("y: "))
print(x + y)