Skip to content

Commit 5994e23

Browse files
committed
If Elif Ckecking
1 parent 69a35e3 commit 5994e23

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

If-Else.ipynb

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,28 @@
8383
" print('last')"
8484
]
8585
},
86+
{
87+
"cell_type": "code",
88+
"execution_count": 7,
89+
"metadata": {},
90+
"outputs": [
91+
{
92+
"name": "stdout",
93+
"output_type": "stream",
94+
"text": [
95+
"first\n"
96+
]
97+
}
98+
],
99+
"source": [
100+
"if 2 == 2:\n",
101+
" print('first')\n",
102+
"elif 3 == 3:\n",
103+
" print('middle')\n",
104+
"else:\n",
105+
" print('Last')"
106+
]
107+
},
86108
{
87109
"cell_type": "code",
88110
"execution_count": null,

0 commit comments

Comments
 (0)