<jupyter_start><jupyter_text>**Fundamentals of Python** Python Indention<jupyter_code>if 5>2:
  print("Yes")<jupyter_output>Yes<jupyter_text>Python Comments<jupyter_code>#this is a comment
print("Hello, World!")<jupyter_output>Hello, World!<jupyter_text>Python Variable<jupyter_code>x= "Sally"
a=0
a,b,c=0,1,2
print(x)<jupyter_output>Sally<jupyter_text>Casting<jupyter_code>d=4
d=int(4)
print(d)<jupyter_output>4<jupyter_text>Type () Function<jupyter_code>d=4
d=int(4)
print(type(d))<jupyter_output><class 'int'><jupyter_text>Double qoutes and single qoutes<jupyter_code>#="Ana"
#print(y)

y='Tony'
Y="Ezekiel"
print(y)
print(Y)<jupyter_output>Tony
Ezekiel<jupyter_text>Multiple Variables with one value<jupyter_code>#x= "Tony"
k=l=m="four"
print(k)
print(l)
print(m)
print(k,l,m)<jupyter_output>four
four
four
four four four<jupyter_text>Output Variable<jupyter_code>print('Python programming is enjoying')

h="enjoying"
p="Python programming is"
print("python programming is" + h)
print(p+""+""+h)<jupyter_output>Python programming is enjoying
python programming isenjoying
Python programming isenjoying<jupyter_text>Arithmetic Operations<jupyter_code>print(c+d) #c=2, d=4
print(d-c)
print(d*c)
print(d/c)
print(d%c)
print(3//2)   #1.50
print(d**c)<jupyter_output>6
2
8
2.0
0
1
16<jupyter_text>Assignment Operators<jupyter_code>q=10
q+=5 #same as q=q+5

print(q)#same as q=q+5, q=10+5=15<jupyter_output>15<jupyter_text>Boolean Logic<jupyter_code>s=10
print(s^2)
print(s|2)<jupyter_output>8
10<jupyter_text>Comparison Operators<jupyter_code>print(s>q)
print(s==s)
print(q==q)<jupyter_output>False
True
True<jupyter_text>Logical Operators<jupyter_code>s>q and s==s #False
s>q or s==s #True

print(s>q and s==s)
print(s>q or s==s)<jupyter_output>False
True<jupyter_text>Bitwise Operator shift right/left<jupyter_code>u=2 #1010 in binary
print(u<<1)

g=10
print(g<<1)<jupyter_output>4
20
{'fraction_non_alphanumeric': 0.153315649867374, 'fraction_numerical': 0.03076923076923077, 'mean_word_length': 11.657718120805368, 'pattern_counts': {'":': 0, '<': 48, '<?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': '14', 'dir': 'jupyter-structured-clean-dedup', 'id': '16792', 'license': 'Apache-2.0', 'n_tokens_mistral': 905, 'n_tokens_neox': 867, 'n_words': 131, 'path': 'Fundamentals_of_Python.ipynb', 'repo_name': 'JoseEclavia/OOP-58002', 'size': '1885'}