summaryrefslogtreecommitdiff
path: root/misc/buggyAddingProgram.py
diff options
context:
space:
mode:
authormlot <petri-rush-curvy@duck.com>2025-06-06 13:40:57 -0400
committermlot <petri-rush-curvy@duck.com>2025-06-06 13:40:57 -0400
commit75a42ec54dbf721caa659ddf02c1f46fc2cb4bef (patch)
tree84be794a2481e356a7784557a6f9fb6fbf29cfdd /misc/buggyAddingProgram.py
initial commit for archivingHEADmain
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)