summaryrefslogtreecommitdiff
path: root/wk6/lect/agree.py
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-05-03 07:17:45 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-05-03 07:17:45 +0000
commit25ab668f1fe9a30b06ba0f2ea36bfd918a6fdeb7 (patch)
treeb21b847075658c4912b45a382a51a5814a4f1401 /wk6/lect/agree.py
parent66a92bdf52129380b2cbee27353e83fc1272d684 (diff)
Fri, May 3, 2024, 12:17 AM -07:00
Diffstat (limited to 'wk6/lect/agree.py')
-rw-r--r--wk6/lect/agree.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/wk6/lect/agree.py b/wk6/lect/agree.py
index aace9f0..c68192b 100644
--- a/wk6/lect/agree.py
+++ b/wk6/lect/agree.py
@@ -1,6 +1,10 @@
s = input("Do you agree? ")
-if s == "Y" or s == "y":
+# if s == "Y" or s == "y":
+# print('Agreed')
+# elif s == 'N' or s == 'n':
+# print("Not agreed")
+
+if s in ['y', 'yes']:
print('Agreed')
-elif s == 'N' or s == 'n':
- print("Not agreed")
+