<jupyter_start><jupyter_text>Python Variables<jupyter_code>x = float(1)
a, b = 0, -1
a, b, c = "Sarah", "Echo", "Syjay"

print('This a sample')
print(a)
print(c)<jupyter_output>This a sample
Sarah
Syjay<jupyter_text>Casting<jupyter_code>print(x)<jupyter_output>1.0<jupyter_text>Type() Function<jupyter_code>y = "Nicole"

print(type(y))
print(type(x))<jupyter_output><class 'str'>
<class 'float'><jupyter_text>Double quotes and Single quotes<jupyter_code>h = "John"
v = 4
v = 5

print(h)
print(v)
print(v+1)<jupyter_output>John
5
6<jupyter_text>Multiple Variables<jupyter_code>x,y,z="four", "five", "six"
print(x)
print(y)
print(z)
print(x,y,z)<jupyter_output>four
five
six
four five six<jupyter_text>One Value to Multiple Variables<jupyter_code>x = y = z ="Murphy"
print(x,y,z)<jupyter_output><NAME><jupyter_text>Output Variables<jupyter_code>x= "fun"

print("Python is " + x)

x = "Hi"
y = "B<NAME>"

print(x+""+" "+y)<jupyter_output>Python is fun
Hi B<NAME>u<jupyter_text>Arithmetic Operations<jupyter_code>a = 1
b = 2
c = 6

print(a+b)
print(a-b)
print(a*c)
print(int(c/b))
print(3/b)
print(3%b)
print(3//b)
print(3**6)<jupyter_output>3
-1
6
3
1.5
1
1
729<jupyter_text>Assignment Operators<jupyter_code>k = 2
l=3
k+=3 #same as k=k+3

print(k)

print(1>>l)<jupyter_output>5
0<jupyter_text>Boolean Operators<jupyter_code>k=2
l=3
print(k>>2)#shift right twice 
print(k<<2)#shift left twice<jupyter_output>0
8<jupyter_text>Relational Operators<jupyter_code>print(v>k) #v=4, k=5

print(v==k)<jupyter_output>True
False<jupyter_text>Logical Operators<jupyter_code>print(v<k and k==k)
print(v<k or k==v)
print(not (v<k or k==v))<jupyter_output>False
False
True<jupyter_text>Identity Operators<jupyter_code>print(v is k)
print(v is not k)<jupyter_output>False
True
{'fraction_non_alphanumeric': 0.16552901023890784, 'fraction_numerical': 0.02502844141069397, 'mean_word_length': 8.772222222222222, 'pattern_counts': {'":': 0, '<': 50, '<?xml version=': 0, '>': 50, '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': '13', 'dir': 'jupyter-structured-clean-dedup', 'id': '446310', 'license': 'Apache-2.0', 'n_tokens_mistral': 876, 'n_tokens_neox': 840, 'n_words': 143, 'path': 'Fundamentals Of Python.ipynb', 'repo_name': 'Andrea-Castilloo/OOP-58001', 'size': '1769'}