x=6
y=7
print("Arithmetic Operator")
print("x+y",x+y)
print("x-y",x-y)
print("x*y",x*y)
print("x/y",x/y)
print("x%y",x%y)
print("x**y",x**y)
print("x//y",x//y)
x=7
y=8
print("Comparison Operator")
print("x==y",x==y)
print("x!=y",x!=y)
print("x<y",x<y)
print("x>y",x>y)
print("x<=y",x<=y)
print("x>=y",x>=y)
p=15
q=14
print("Logical Operator")
print("p and q",p and q)
print("p or q",p or q)
print("not q",not q)
x=9
y=8
print("Assignment Operator")
x+=y
print("x=",x)
x-+y
print("x=",x)
x*=y
print("x=",x)
x/=y
print("x=",x)
x%=y
print("x=",x)
x//=y
print("x=",x)
fruits=["Mango","Orange","Apple"]
print("Membership operator")
print("apple in fruits",'Apple'in fruits)
print("grapes not in fruits",'Grapes'not in fruits)
x=10
y=10
z=5
print("Identity operator")
print("x is y",x is y)
print("x is not z",x is not z)
eD02Cnk9NwpwcmludCgiQXJpdGhtZXRpYyBPcGVyYXRvciIpCnByaW50KCJ4K3kiLHgreSkKcHJpbnQoIngteSIseC15KQpwcmludCgieCp5Iix4KnkpCnByaW50KCJ4L3kiLHgveSkKcHJpbnQoIngleSIseCV5KQpwcmludCgieCoqeSIseCoqeSkKcHJpbnQoIngvL3kiLHgvL3kpCiAKeD03Cnk9OApwcmludCgiQ29tcGFyaXNvbiBPcGVyYXRvciIpCnByaW50KCJ4PT15Iix4PT15KQpwcmludCgieCE9eSIseCE9eSkKcHJpbnQoIng8eSIseDx5KQpwcmludCgieD55Iix4PnkpCnByaW50KCJ4PD15Iix4PD15KQpwcmludCgieD49eSIseD49eSkKIApwPTE1CnE9MTQKcHJpbnQoIkxvZ2ljYWwgT3BlcmF0b3IiKQpwcmludCgicCBhbmQgcSIscCBhbmQgcSkKcHJpbnQoInAgb3IgcSIscCBvciBxKQpwcmludCgibm90IHEiLG5vdCBxKQogCng9OQp5PTgKcHJpbnQoIkFzc2lnbm1lbnQgT3BlcmF0b3IiKQp4Kz15CnByaW50KCJ4PSIseCkKeC0reQpwcmludCgieD0iLHgpCngqPXkKcHJpbnQoIng9Iix4KQp4Lz15CnByaW50KCJ4PSIseCkKeCU9eQpwcmludCgieD0iLHgpCngvLz15CnByaW50KCJ4PSIseCkKIApmcnVpdHM9WyJNYW5nbyIsIk9yYW5nZSIsIkFwcGxlIl0KcHJpbnQoIk1lbWJlcnNoaXAgb3BlcmF0b3IiKQpwcmludCgiYXBwbGUgaW4gZnJ1aXRzIiwnQXBwbGUnaW4gZnJ1aXRzKQpwcmludCgiZ3JhcGVzIG5vdCBpbiBmcnVpdHMiLCdHcmFwZXMnbm90IGluIGZydWl0cykKIAp4PTEwCnk9MTAKej01CnByaW50KCJJZGVudGl0eSBvcGVyYXRvciIpCnByaW50KCJ4IGlzIHkiLHggaXMgeSkKcHJpbnQoInggaXMgbm90IHoiLHggaXMgbm90IHopCiAKIA==
Arithmetic Operator
('x+y', 13)
('x-y', -1)
('x*y', 42)
('x/y', 0)
('x%y', 6)
('x**y', 279936)
('x//y', 0)
Comparison Operator
('x==y', False)
('x!=y', True)
('x<y', True)
('x>y', False)
('x<=y', True)
('x>=y', False)
Logical Operator
('p and q', 14)
('p or q', 15)
('not q', False)
Assignment Operator
('x=', 17)
('x=', 17)
('x=', 136)
('x=', 17)
('x=', 1)
('x=', 0)
Membership operator
('apple in fruits', True)
('grapes not in fruits', True)
Identity operator
('x is y', True)
('x is not z', True)