summaryrefslogtreecommitdiff
path: root/wk6/lect/agree.py
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-05-03 07:16:43 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-05-03 07:16:43 +0000
commit66a92bdf52129380b2cbee27353e83fc1272d684 (patch)
tree5f98eda381de7132f9169eb081d33d0092990a6f /wk6/lect/agree.py
parent115eba7d2a20ccab78f6fbef25089c967d0dd526 (diff)
Fri, May 3, 2024, 12:16 AM -07:00
Diffstat (limited to 'wk6/lect/agree.py')
-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")