<jupyter_start><jupyter_text>Boolean Operators<jupyter_code>a=10
b=9
c=8

print (10 > 9)
print (10 == 9)
print (10 < 9)

print (a)

print (a > b)
c = print (a >b)

c
##true
print(bool("Hello"))
print(bool(15))
print(bool(True))
print(bool(1))

##false
print(bool(False))
print(bool(0))
print(bool(None))
print(bool([]))
def myFunction() :
  return True

print(myFunction())
def myFunction() :
  return True

if myFunction():
  print("Yes/True")
else:
  print("No/False")
print(10>9)

a = 6 #0000 0110
b = 7 #0000 0111

print(a==b)
print(a!= b)<jupyter_output>True
False
True<jupyter_text>Python Operators<jupyter_code>print(10+5)
print(10-5)
print(10*5)
print(10/5)
print(10%5)
print(10//3)
print(10**2)<jupyter_output>15
5
50
2.0
0
2
100000<jupyter_text>Bitwise Operators<jupyter_code>a = 60 #0011 1100
b = 13

print(a^b)
print(-a)
print(a<<2)
print(a>>2) #0000 1111<jupyter_output>49
-60
240
15<jupyter_text>Assignment Operator<jupyter_code>x=2
x+=3 #Same As x = x+3
print(x)
x<jupyter_output>5<jupyter_text>Logical Operator<jupyter_code>a = 5
b = 6

print(a>b and a==a)
print(a<b or b==a)<jupyter_output>False
True<jupyter_text>Identify Operator<jupyter_code>print(a is b)
print(a is not b)<jupyter_output>False
True
{'fraction_non_alphanumeric': 0.1689909762100082, 'fraction_numerical': 0.09105824446267433, 'mean_word_length': 6.7215189873417724, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 26, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '6', 'dir': 'jupyter-structured-clean-dedup', 'id': '92734', 'license': 'Apache-2.0', 'n_tokens_mistral': 637, 'n_tokens_neox': 568, 'n_words': 116, 'path': 'Operations_and_Expressions.ipynb', 'repo_name': 'JiroBrent/CPEN-21A-ECE-2-2', 'size': '1219'}