We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4303e02 commit e6c9945Copy full SHA for e6c9945
loops.ipynb
@@ -102,7 +102,7 @@
102
},
103
{
104
"cell_type": "code",
105
- "execution_count": 2,
+ "execution_count": null,
106
"metadata": {},
107
"outputs": [
108
@@ -147,6 +147,35 @@
147
"\n"
148
]
149
150
+ {
151
+ "cell_type": "markdown",
152
+ "metadata": {},
153
+ "source": [
154
+ "## Use of Continue , break, pass"
155
+ ]
156
+ },
157
158
+ "cell_type": "code",
159
+ "execution_count": 1,
160
161
+ "outputs": [
162
163
+ "name": "stdout",
164
+ "output_type": "stream",
165
+ "text": [
166
+ "We found it \n"
167
168
+ }
169
+ ],
170
171
+ "a = [1,4,4,5,9,7]\n",
172
+ "\n",
173
+ "for i in a:\n",
174
+ " if(i==4):\n",
175
+ " print('We found it ')\n",
176
+ " break"
177
178
179
180
181
"execution_count": null,
0 commit comments