File tree Expand file tree Collapse file tree 2 files changed +33
-5
lines changed
Expand file tree Collapse file tree 2 files changed +33
-5
lines changed Original file line number Diff line number Diff line change 103103 "cell_type" : " markdown" ,
104104 "metadata" : {},
105105 "source" : [
106- " #### 2. *if - else* statements:"
106+ " #### 2. *if - else* statements:\n " ,
107+ " Executes *else* when *if* condition fails \n " ,
108+ " Syntax: \n " ,
109+ " >if condition1: \n " ,
110+ " Statements \n " ,
111+ " else: \n " ,
112+ " Statements"
107113 ]
108114 },
109115 {
110116 "cell_type" : " markdown" ,
111117 "metadata" : {},
112118 "source" : [
113- " #### 3. *if - elif - else* statements:"
119+ " #### 3. *if - elif - else* statements:\n " ,
120+ " Checks for truth of *elif* statement when *if* statement fails. Chain of *if-else* \n " ,
121+ " Syntax: \n " ,
122+ " >if condition1: \n " ,
123+ " Statements\n " ,
124+ " elif condition2: \n " ,
125+ " Statements\n " ,
126+ " else: \n " ,
127+ " Statements"
114128 ]
115129 },
116130 {
161175 "name" : " python" ,
162176 "nbconvert_exporter" : " python" ,
163177 "pygments_lexer" : " ipython3" ,
164- "version" : " 3.8.5 "
178+ "version" : " 3.8.6rc1 "
165179 }
166180 },
167181 "nbformat" : 4 ,
Original file line number Diff line number Diff line change 103103 "cell_type" : " markdown" ,
104104 "metadata" : {},
105105 "source" : [
106- " #### 2. *if - else* statements:"
106+ " #### 2. *if - else* statements:\n " ,
107+ " Executes *else* when *if* condition fails \n " ,
108+ " Syntax: \n " ,
109+ " >if condition1: \n " ,
110+ " Statements \n " ,
111+ " else: \n " ,
112+ " Statements"
107113 ]
108114 },
109115 {
110116 "cell_type" : " markdown" ,
111117 "metadata" : {},
112118 "source" : [
113- " #### 3. *if - elif - else* statements:"
119+ " #### 3. *if - elif - else* statements:\n " ,
120+ " Checks for truth of *elif* statement when *if* statement fails. Chain of *if-else* \n " ,
121+ " Syntax: \n " ,
122+ " >if condition1: \n " ,
123+ " Statements\n " ,
124+ " elif condition2: \n " ,
125+ " Statements\n " ,
126+ " else: \n " ,
127+ " Statements"
114128 ]
115129 },
116130 {
You can’t perform that action at this time.
0 commit comments