<jupyter_start><jupyter_text>Print Helloworld<jupyter_code>print("Hello")
print("Hello")
10<jupyter_output>Hello
Hello<jupyter_text>Variables<jupyter_code>a = 10
b = 20

sum = a + b
abc = 10
print('sum')
print(abc)<jupyter_output>sum
10<jupyter_text>Variable namingYou cant start with digits<jupyter_code>ab_c1 = 10
_ss = 2
# 12cd = 20<jupyter_output><empty_output><jupyter_text>assigning different type of data to a variable<jupyter_code>a = 10
a = 20
a = "hthths"
a
a = "abc"
print(type(a))
a = 10
print(type(a))<jupyter_output><class 'str'>
<class 'int'><jupyter_text>Python Numbers<jupyter_code>a1 = 23
a2 = 3.4
a3 = 4 + 5j
print(type(a1))
print(type(a2))
print(type(a3))
a = 10
print(id(a))
a = a + 1
print(id(a))
a
a = 100
b = 100
print(id(a))
print(id(b))
a = 1000
b = 1000
print(id(a))
print(id(b))<jupyter_output>4451321264
4451321808<jupyter_text>Arithmatic Operators<jupyter_code>a = 10
b = 4
print(a - b)
print(a + b)
a * b
a / b # floating point division
a//b # integer division
a**b # exponentiation
a % b
2 + 3 * 4 # 14 or 20
2 * 3 / 4 # doesn't matter what operation is done first
(2 * 3) // 4
# simple interest to lower integer
p = 100
r = 12
t = 2
# si = p * r * t // 100
#si = t//100 * r * p
si = (p * r * t)//100
si
# fah to celcius conversion
f = 100
c = (f - 32) * 5/9
print(c)
ci = (f - 32) * 5//9
print(ci)<jupyter_output>37.77777777777778
37<jupyter_text>input<jupyter_code>a = float(input())
type(a)

#b =  '34'
#c = int(b)
#c
s = "4.5"
float(s)
# adding two numbers
a = int(input())
b = int(input())
print(type(a))
s = a + b
print(s)<jupyter_output>23
34
<class 'int'>
57
{'fraction_non_alphanumeric': 0.16270337922403003, 'fraction_numerical': 0.08948685857321652, 'mean_word_length': 4.571428571428571, 'pattern_counts': {'":': 0, '<': 26, '<?xml version=': 0, '>': 26, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 1, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '7', 'dir': 'jupyter-structured-clean-dedup', 'id': '30311', 'license': 'MIT', 'n_tokens_mistral': 840, 'n_tokens_neox': 728, 'n_words': 188, 'path': 'Introduction to Python/Input.ipynb', 'repo_name': 'rajeshalda/Python-Coding-Ninja', 'size': '1598'}