Skip to content

Commit 69a35e3

Browse files
committed
If Else Chekcing
1 parent 4b41961 commit 69a35e3

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

If-Else.ipynb

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,64 @@
2525
" print('Yep!')"
2626
]
2727
},
28+
{
29+
"cell_type": "code",
30+
"execution_count": 4,
31+
"metadata": {},
32+
"outputs": [
33+
{
34+
"name": "stdout",
35+
"output_type": "stream",
36+
"text": [
37+
"yep!\n"
38+
]
39+
}
40+
],
41+
"source": [
42+
"if 1 < 2:\n",
43+
" print('yep!')"
44+
]
45+
},
46+
{
47+
"cell_type": "code",
48+
"execution_count": 5,
49+
"metadata": {},
50+
"outputs": [
51+
{
52+
"name": "stdout",
53+
"output_type": "stream",
54+
"text": [
55+
"first\n"
56+
]
57+
}
58+
],
59+
"source": [
60+
"if 1 < 2:\n",
61+
" print('first')\n",
62+
"else:\n",
63+
" print('last')"
64+
]
65+
},
66+
{
67+
"cell_type": "code",
68+
"execution_count": 6,
69+
"metadata": {},
70+
"outputs": [
71+
{
72+
"name": "stdout",
73+
"output_type": "stream",
74+
"text": [
75+
"last\n"
76+
]
77+
}
78+
],
79+
"source": [
80+
"if 1 > 2:\n",
81+
" print('first')\n",
82+
"else:\n",
83+
" print('last')"
84+
]
85+
},
2886
{
2987
"cell_type": "code",
3088
"execution_count": null,

0 commit comments

Comments
 (0)