From 115eba7d2a20ccab78f6fbef25089c967d0dd526 Mon Sep 17 00:00:00 2001 From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com> Date: Fri, 3 May 2024 07:14:14 +0000 Subject: Fri, May 3, 2024, 12:14 AM -07:00 --- wk6/lect/compare.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 wk6/lect/compare.py (limited to 'wk6/lect') diff --git a/wk6/lect/compare.py b/wk6/lect/compare.py new file mode 100644 index 0000000..64a6a73 --- /dev/null +++ b/wk6/lect/compare.py @@ -0,0 +1,19 @@ +# from cs50 import get_int + +# x =get_int("What's x? ") +# y =get_int("What's y? ") + +# if x < y: +# print("x is less than y") +# elif x > y: +# print("x is grretaer than y") +# else: +# print("x is equal to y") + +s = input("s: ") +t = input("t: ") + +if s == t: + print("SAME") +else: + print("DIFFERENT") -- cgit v1.2.3