Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitead221f

Browse files
committed
Updates
1 parent4e03ab8 commitead221f

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

‎python_basics.ipynb‎

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"metadata": {},
2727
"source": [
2828
"<div class=\"alert alert-block alert-info\">\n",
29-
"<b>1.a. Comparision Operators</b>\n",
29+
"<b>1.a. Comparision Operators</b><br>\n",
3030
"Comparision operators are used for comparing two values. The output is <b>True</b> or <b>False</b> .\n",
3131
"</div>"
3232
]
@@ -49,14 +49,14 @@
4949
"metadata": {},
5050
"source": [
5151
"<div class=\"alert alert-block alert-info\">\n",
52-
"<b>1.b. Range</b>\n",
53-
"A function that returns all integers between 2 arguments e.g range(x, y), including x but excluding y.\n",
52+
"<b>1.b. Range</b><br>\n",
53+
"A function that returns all integers between 2 arguments e.g range(x, y) including x but excluding y.\n",
5454
"</div>"
5555
]
5656
},
5757
{
5858
"cell_type":"code",
59-
"execution_count":1,
59+
"execution_count":3,
6060
"metadata": {},
6161
"outputs": [
6262
{
@@ -65,7 +65,7 @@
6565
"[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]"
6666
]
6767
},
68-
"execution_count":1,
68+
"execution_count":3,
6969
"metadata": {},
7070
"output_type":"execute_result"
7171
}
@@ -78,7 +78,7 @@
7878
},
7979
{
8080
"cell_type":"code",
81-
"execution_count":2,
81+
"execution_count":4,
8282
"metadata": {},
8383
"outputs": [
8484
{
@@ -87,7 +87,7 @@
8787
"[0, 3, 6, 9]"
8888
]
8989
},
90-
"execution_count":2,
90+
"execution_count":4,
9191
"metadata": {},
9292
"output_type":"execute_result"
9393
}
@@ -103,7 +103,7 @@
103103
"metadata": {},
104104
"source": [
105105
"<div class=\"alert alert-block alert-info\">\n",
106-
"<b>1.c. For Loop</b>\n",
106+
"<b>1.c. For Loop</b><br>\n",
107107
"For loop is used to repeat a block of code fixed number of times or break in between by some condition.\n",
108108
"</div>"
109109
]
@@ -129,7 +129,7 @@
129129
},
130130
{
131131
"cell_type":"code",
132-
"execution_count":10,
132+
"execution_count":6,
133133
"metadata": {},
134134
"outputs": [
135135
{
@@ -149,7 +149,7 @@
149149
},
150150
{
151151
"cell_type":"code",
152-
"execution_count":12,
152+
"execution_count":7,
153153
"metadata": {},
154154
"outputs": [
155155
{
@@ -158,7 +158,7 @@
158158
"[2, 5, 8]"
159159
]
160160
},
161-
"execution_count":12,
161+
"execution_count":7,
162162
"metadata": {},
163163
"output_type":"execute_result"
164164
}
@@ -177,7 +177,7 @@
177177
},
178178
{
179179
"cell_type":"code",
180-
"execution_count":14,
180+
"execution_count":8,
181181
"metadata": {},
182182
"outputs": [
183183
{
@@ -197,7 +197,7 @@
197197
},
198198
{
199199
"cell_type":"code",
200-
"execution_count":15,
200+
"execution_count":9,
201201
"metadata": {},
202202
"outputs": [
203203
{
@@ -216,7 +216,7 @@
216216
},
217217
{
218218
"cell_type":"code",
219-
"execution_count":16,
219+
"execution_count":10,
220220
"metadata": {},
221221
"outputs": [
222222
{
@@ -238,14 +238,14 @@
238238
"metadata": {},
239239
"source": [
240240
"<div class=\"alert alert-block alert-info\">\n",
241-
"<b>1.d. While Loop</b>\n",
241+
"<b>1.d. While Loop</b><br>\n",
242242
"While loop is used to run a block of code multiple times until the condition is met.\n",
243243
"</div>"
244244
]
245245
},
246246
{
247247
"cell_type":"code",
248-
"execution_count":1,
248+
"execution_count":11,
249249
"metadata": {},
250250
"outputs": [
251251
{
@@ -269,16 +269,16 @@
269269
"metadata": {},
270270
"source": [
271271
"<div class=\"alert alert-block alert-info\">\n",
272-
"<b>1.e. If Else Condition</b>\n",
273-
"Conditional statement : if code block is executed if the condition is met.\n",
274-
"Else is Optional and is executed in case 'if' fails.\n",
275-
"For multiple else use 'elif'\n",
272+
"<b>1.e. If Else Condition</b><br>\n",
273+
"Conditional statement : if code block is executed if the condition is met.<br>\n",
274+
"Else is Optional and is executed in case 'if' fails.<br>\n",
275+
"For multiple else use 'elif'.\n",
276276
"</div>"
277277
]
278278
},
279279
{
280280
"cell_type":"code",
281-
"execution_count":2,
281+
"execution_count":12,
282282
"metadata": {},
283283
"outputs": [
284284
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp