<jupyter_start><jupyter_text>Boolean Operators<jupyter_code>print(10>9)
print(10<9)
print(10==9)
a = 10
b = 9

print(a>b)
print(a<b)
print(a==b)<jupyter_output><empty_output><jupyter_text>Bool Function<jupyter_code>print(bool(1))
print(bool(0))
print(bool("Maria"))
print(bool(None))
print(bool([]))<jupyter_output><empty_output><jupyter_text>Function can return a boolean<jupyter_code>def my_Function():
  return False

print(my_Function())

if my_Function():
  print("Yes!")
else:
  print("No!")<jupyter_output><empty_output><jupyter_text>Python Operators<jupyter_code>print(2+5)
print(2-5)
print(2*5)
print(5/2)
print(5//2)
print(5**2)<jupyter_output><empty_output><jupyter_text>Bitwise Operators<jupyter_code>a = 60
b = 13

print(a&b)
print(a|b)
print(a^b)<jupyter_output><empty_output><jupyter_text>Assignment Operators<jupyter_code>a += 3   #Same as a = a +3
print(a)<jupyter_output><empty_output><jupyter_text>Logical Operators<jupyter_code>x = True
y = False

print(x and y)
print(x or y)
print(not(x and y))<jupyter_output><empty_output><jupyter_text>Identity Operators<jupyter_code>print(x is y)
print(x is x)

print(x is not y)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1601027397260274, 'fraction_numerical': 0.0273972602739726, 'mean_word_length': 10.808080808080808, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, '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': '8', 'dir': 'jupyter-structured-clean-dedup', 'id': '377949', 'license': 'Apache-2.0', 'n_tokens_mistral': 529, 'n_tokens_neox': 510, 'n_words': 73, 'path': 'Operation_and_Expressions.ipynb', 'repo_name': 'Ranniellsaur/Numerical-Methods-58012', 'size': '1168'}