summaryrefslogtreecommitdiff
path: root/misc/buggyAddingProgram.py
diff options
context:
space:
mode:
Diffstat (limited to 'misc/buggyAddingProgram.py')
-rw-r--r--misc/buggyAddingProgram.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/buggyAddingProgram.py b/misc/buggyAddingProgram.py
new file mode 100644
index 0000000..edc3c7a
--- /dev/null
+++ b/misc/buggyAddingProgram.py
@@ -0,0 +1,11 @@
+#!/usr/bin/env python3
+
+#Chapter 10 IDLE Debug
+
+print('Enter the first number to add:')
+first = input()
+print('Enter the second number to add:')
+second = input()
+print('Enter the third number to add:')
+third = input()
+print('The sum is ' + first + second + third)