<jupyter_start><jupyter_text>Boolean Operators<jupyter_code>#Booleans represent one of two values: True or False
print(10>9)
print(10==9)
print(9>10)
a=10
b=9
print(a>b)
print(a==a)
print(b>a)
b==a
print(bool("Hello"))
print(bool(15))
print(bool(True))
print(bool(False))
print(bool(None))
print(bool(0))
print(bool([]))
def Function():return True
print(Function())
def Function(): return False

if Function():
  print("YES")
else:
  print("NO")<jupyter_output>NO<jupyter_text>Try<jupyter_code>a=6
b=7
print(a==b)
print(a!=a)
print(10+5)
print(10-5)
print(10*5)
print(10/5) #Division
print(10%6) #Prints remainder (Modulo Division)
print(10//6) #Floor Division - Whole Number only 
print(10**2) #Raise to a certain power
a=60 #0011 1100
b=13 #0000 1101
print(a&b)
print(a|b)
print(a^b)
print(a<<2)
print(a>>2)
x=6
x+=3
print(x)
x-=3
print(x)
x%=3
print(x)
a=True
b=False
print(a and b)
print(a or b)
print(not(a and b))
print(not(a or b))
print(a is b)
print(a is not b)<jupyter_output>False
True
StarcoderdataJupyterStructuredCleanDedup