summaryrefslogtreecommitdiff
path: root/wk6/lect/agree.py
blob: f731a6a273040f6103755e5db1f886e166953f0e (plain)
1
2
3
4
5
6
7
8
9
10
11
s = input("Do you agree? ").lower()

# 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 in ['n', 'no']:
    print('Not agreed')