summaryrefslogtreecommitdiff
path: root/wk6
diff options
context:
space:
mode:
Diffstat (limited to 'wk6')
-rw-r--r--wk6/lect/agree.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/wk6/lect/agree.py b/wk6/lect/agree.py
new file mode 100644
index 0000000..aace9f0
--- /dev/null
+++ b/wk6/lect/agree.py
@@ -0,0 +1,6 @@
+s = input("Do you agree? ")
+
+if s == "Y" or s == "y":
+ print('Agreed')
+elif s == 'N' or s == 'n':
+ print("Not agreed")