diff options
Diffstat (limited to 'wk6')
-rw-r--r-- | wk6/lect/compare.py | 19 |
1 files changed, 19 insertions, 0 deletions
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") |