<jupyter_start><jupyter_text>Fundamentals of Phyton Phyton Variables<jupyter_code>x = float(1)
a, b = 0, -1
a, b, c = "Sally", "John", "Ana"

print('This a sample')
print(a)
print(c)<jupyter_output>This a sample
Sally
Ana<jupyter_text>Casting<jupyter_code>print(x)<jupyter_output>1.0<jupyter_text>Type() Function symbol<jupyter_code>y= "Johnny"

print(type(y))
print(type(x))<jupyter_output><class 'str'>
<class 'float'><jupyter_text>Double qoutes and Single qoutes (Case Sensitive)<jupyter_code>#h = "Maria"
h = 'Maria'
v = "1"
V = "2"
print(h)
print(v)
print(V)<jupyter_output>Maria
1
2<jupyter_text>Multiple Variables<jupyter_code>x,y,z = "one", "two", 'three'

print(x) 
print(y)
print(z)
print(x,y,z)
print(type(x))
print(type(y))
print(type(z))<jupyter_output>one
two
three
one two three
<class 'str'>
<class 'str'>
<class 'str'><jupyter_text>One Value to Multiple Variables<jupyter_code>x = y = z = "Stella"
print(x,y,z)
print (x)
print (y)
print (z)<jupyter_output>Stella Stella Stella
Stella
Stella
Stella<jupyter_text>Output Variables<jupyter_code>x = "enjoying"
y = "Phyton is "

print( y + x)<jupyter_output>Phyton is enjoying<jupyter_text>Arithmetic Operations<jupyter_code>f = 1
g = 2
i = 6

print(f+g)
print(f*g)
print(int(i/g))
print(3/g)
print(3%g)
print(3//g)
print(3**2)
print(2^6) #XOR
print(2|6)<jupyter_output>3
2
3
1.5
1
1
9
4
6<jupyter_text>Assigment Operator<jupyter_code>k = 2
l = 1
k+=3 #same as k = k + 3

print(k)
#print(p)

print(k>>2)<jupyter_output>5
1<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>v=1
k=2
print(v>k) #v=1, k=2

print(v==k)<jupyter_output>False
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>True
True
False<jupyter_text>Identity Operators<jupyter_code>print(v is k)
print(v is not k)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.16186140617096612, 'fraction_numerical': 0.024279210925644917, 'mean_word_length': 8.242990654205608, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 51, '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': '348208', 'license': 'Apache-2.0', 'n_tokens_mistral': 970, 'n_tokens_neox': 943, 'n_words': 175, 'path': 'Fundamentals_of_Python.ipynb', 'repo_name': 'Borvs/OOP-58001', 'size': '1977'}