Skip to content

Commit e8ca7f5

Browse files
committed
first repo commit
0 parents  commit e8ca7f5

14 files changed

Lines changed: 3113 additions & 0 deletions

File tree

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": 1,
6+
"id": "ab1f97ed",
7+
"metadata": {},
8+
"outputs": [
9+
{
10+
"data": {
11+
"text/plain": [
12+
"30"
13+
]
14+
},
15+
"execution_count": 1,
16+
"metadata": {},
17+
"output_type": "execute_result"
18+
}
19+
],
20+
"source": [
21+
"a=10\n",
22+
"b=20\n",
23+
"a+b"
24+
]
25+
}
26+
],
27+
"metadata": {
28+
"kernelspec": {
29+
"display_name": "Python 3",
30+
"language": "python",
31+
"name": "python3"
32+
},
33+
"language_info": {
34+
"codemirror_mode": {
35+
"name": "ipython",
36+
"version": 3
37+
},
38+
"file_extension": ".py",
39+
"mimetype": "text/x-python",
40+
"name": "python",
41+
"nbconvert_exporter": "python",
42+
"pygments_lexer": "ipython3",
43+
"version": "3.8.8"
44+
}
45+
},
46+
"nbformat": 4,
47+
"nbformat_minor": 5
48+
}
Lines changed: 270 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,270 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": 1,
6+
"id": "f9430220",
7+
"metadata": {},
8+
"outputs": [
9+
{
10+
"name": "stdout",
11+
"output_type": "stream",
12+
"text": [
13+
"30\n",
14+
"-10\n"
15+
]
16+
}
17+
],
18+
"source": [
19+
"a=10\n",
20+
"b=20\n",
21+
"print(a+b)\n",
22+
"print(a-b)"
23+
]
24+
},
25+
{
26+
"cell_type": "code",
27+
"execution_count": 2,
28+
"id": "a187dbe4",
29+
"metadata": {},
30+
"outputs": [
31+
{
32+
"data": {
33+
"text/plain": [
34+
"200"
35+
]
36+
},
37+
"execution_count": 2,
38+
"metadata": {},
39+
"output_type": "execute_result"
40+
}
41+
],
42+
"source": [
43+
"a*b"
44+
]
45+
},
46+
{
47+
"cell_type": "code",
48+
"execution_count": 3,
49+
"id": "70096acb",
50+
"metadata": {},
51+
"outputs": [
52+
{
53+
"data": {
54+
"text/plain": [
55+
"0.5"
56+
]
57+
},
58+
"execution_count": 3,
59+
"metadata": {},
60+
"output_type": "execute_result"
61+
}
62+
],
63+
"source": [
64+
"a/b"
65+
]
66+
},
67+
{
68+
"cell_type": "code",
69+
"execution_count": 4,
70+
"id": "af8c2ed9",
71+
"metadata": {},
72+
"outputs": [
73+
{
74+
"data": {
75+
"text/plain": [
76+
"0"
77+
]
78+
},
79+
"execution_count": 4,
80+
"metadata": {},
81+
"output_type": "execute_result"
82+
}
83+
],
84+
"source": [
85+
"a//b"
86+
]
87+
},
88+
{
89+
"cell_type": "code",
90+
"execution_count": 5,
91+
"id": "50bac69e",
92+
"metadata": {},
93+
"outputs": [
94+
{
95+
"data": {
96+
"text/plain": [
97+
"100000000000000000000"
98+
]
99+
},
100+
"execution_count": 5,
101+
"metadata": {},
102+
"output_type": "execute_result"
103+
}
104+
],
105+
"source": [
106+
"a**b"
107+
]
108+
},
109+
{
110+
"cell_type": "code",
111+
"execution_count": 7,
112+
"id": "9a814f89",
113+
"metadata": {},
114+
"outputs": [
115+
{
116+
"data": {
117+
"text/plain": [
118+
"0"
119+
]
120+
},
121+
"execution_count": 7,
122+
"metadata": {},
123+
"output_type": "execute_result"
124+
}
125+
],
126+
"source": [
127+
"b%a"
128+
]
129+
},
130+
{
131+
"cell_type": "markdown",
132+
"id": "e3da6be1",
133+
"metadata": {},
134+
"source": [
135+
"# simple intrest\n"
136+
]
137+
},
138+
{
139+
"cell_type": "code",
140+
"execution_count": 25,
141+
"id": "e2d35296",
142+
"metadata": {},
143+
"outputs": [
144+
{
145+
"name": "stdout",
146+
"output_type": "stream",
147+
"text": [
148+
"24\n"
149+
]
150+
}
151+
],
152+
"source": [
153+
"p = 100\n",
154+
"r = 12\n",
155+
"t = 2\n",
156+
"si =( p * r * t)//100\n",
157+
"print(si)"
158+
]
159+
},
160+
{
161+
"cell_type": "markdown",
162+
"id": "495602d8",
163+
"metadata": {},
164+
"source": [
165+
"# far to celsius"
166+
]
167+
},
168+
{
169+
"cell_type": "code",
170+
"execution_count": 28,
171+
"id": "0c15cc53",
172+
"metadata": {},
173+
"outputs": [
174+
{
175+
"name": "stdout",
176+
"output_type": "stream",
177+
"text": [
178+
"37\n"
179+
]
180+
}
181+
],
182+
"source": [
183+
"f=100\n",
184+
"c= (f-32)*5/9\n",
185+
"c\n",
186+
"ci=(f-32)*5//9\n",
187+
"print(ci)"
188+
]
189+
},
190+
{
191+
"cell_type": "markdown",
192+
"id": "662d1cdc",
193+
"metadata": {},
194+
"source": [
195+
"# input"
196+
]
197+
},
198+
{
199+
"cell_type": "code",
200+
"execution_count": 29,
201+
"id": "78a0fecb",
202+
"metadata": {},
203+
"outputs": [
204+
{
205+
"name": "stdout",
206+
"output_type": "stream",
207+
"text": [
208+
"23\n",
209+
"54\n",
210+
"<class 'int'>\n",
211+
"77\n"
212+
]
213+
}
214+
],
215+
"source": [
216+
"a=int(input())\n",
217+
"b=int(input())\n",
218+
"print(type(a))\n",
219+
"s=a+b\n",
220+
"print(s)"
221+
]
222+
},
223+
{
224+
"cell_type": "code",
225+
"execution_count": 31,
226+
"id": "ea565241",
227+
"metadata": {},
228+
"outputs": [
229+
{
230+
"name": "stdout",
231+
"output_type": "stream",
232+
"text": [
233+
"100\n",
234+
"12\n",
235+
"2\n",
236+
"24\n"
237+
]
238+
}
239+
],
240+
"source": [
241+
"p=int(input())\n",
242+
"r=int(input())\n",
243+
"t=int(input())\n",
244+
"si=p*r*t//100\n",
245+
"print(si)"
246+
]
247+
}
248+
],
249+
"metadata": {
250+
"kernelspec": {
251+
"display_name": "Python 3 (ipykernel)",
252+
"language": "python",
253+
"name": "python3"
254+
},
255+
"language_info": {
256+
"codemirror_mode": {
257+
"name": "ipython",
258+
"version": 3
259+
},
260+
"file_extension": ".py",
261+
"mimetype": "text/x-python",
262+
"name": "python",
263+
"nbconvert_exporter": "python",
264+
"pygments_lexer": "ipython3",
265+
"version": "3.9.6"
266+
}
267+
},
268+
"nbformat": 4,
269+
"nbformat_minor": 5
270+
}

Untitled.ipynb

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": 1,
6+
"id": "ab1f97ed",
7+
"metadata": {},
8+
"outputs": [
9+
{
10+
"data": {
11+
"text/plain": [
12+
"30"
13+
]
14+
},
15+
"execution_count": 1,
16+
"metadata": {},
17+
"output_type": "execute_result"
18+
}
19+
],
20+
"source": [
21+
"a=10\n",
22+
"b=20\n",
23+
"a+b"
24+
]
25+
}
26+
],
27+
"metadata": {
28+
"kernelspec": {
29+
"display_name": "Python 3",
30+
"language": "python",
31+
"name": "python3"
32+
},
33+
"language_info": {
34+
"codemirror_mode": {
35+
"name": "ipython",
36+
"version": 3
37+
},
38+
"file_extension": ".py",
39+
"mimetype": "text/x-python",
40+
"name": "python",
41+
"nbconvert_exporter": "python",
42+
"pygments_lexer": "ipython3",
43+
"version": "3.8.8"
44+
}
45+
},
46+
"nbformat": 4,
47+
"nbformat_minor": 5
48+
}

0 commit comments

Comments
 (0)