Skip to content

Commit 74af10b

Browse files
committed
Latex fixes
1 parent d5db940 commit 74af10b

File tree

6 files changed

+15
-10
lines changed

6 files changed

+15
-10
lines changed

.ipynb_checkpoints/DS_Lists-checkpoint.ipynb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
"## Lists:\n",
2525
"Lists are ordered collection of data.\n",
2626
"Represented by square brackets '[ ]' \n",
27-
"`list : [10, 20, 30, 'Hello', -2.0]`\n",
27+
"```python\n",
28+
"list : [10, 20, 30, 'Hello', -2.0]\n",
29+
"```\n",
2830
"\n",
2931
"Each value in the list is called a element \n",
3032
"order of elements: index of element \n",
@@ -1307,7 +1309,7 @@
13071309
"It follows the form of the mathematical set-builder notation unlike the use of map and filter functions. It is used to create lists from either an existing like or a completely new list.\n",
13081310
" \n",
13091311
"Set bulider form:\n",
1310-
"{$x: x ~\\rm{\\epsilon~ list}$} \n",
1312+
"$\\{x: x ~\\rm{\\epsilon~ list}\\}$ \n",
13111313
"Example: \n",
13121314
"```python\n",
13131315
"list1 = [expression (loops)]\n",

.ipynb_checkpoints/DS_Tuples-checkpoint.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@
911911
"It follows the form of the mathematical set-builder notation unlike the use of map and filter functions. It is used to create tuples from either an existing one or a completely new tuple.\n",
912912
" \n",
913913
"Set bulider form:\n",
914-
"{$x: x ~\\rm{\\epsilon~ iterable}$} \n",
914+
"$\\{x: x ~\\rm{\\epsilon~ iterable}\\}$ \n",
915915
"Example: \n",
916916
"```python\n",
917917
"t = tuple(expression (loops))\n",

DS_Lists.ipynb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
"## Lists:\n",
2525
"Lists are ordered collection of data.\n",
2626
"Represented by square brackets '[ ]' \n",
27-
"`list : [10, 20, 30, 'Hello', -2.0]`\n",
27+
"```python\n",
28+
"list : [10, 20, 30, 'Hello', -2.0]\n",
29+
"```\n",
2830
"\n",
2931
"Each value in the list is called a element \n",
3032
"order of elements: index of element \n",
@@ -1307,7 +1309,7 @@
13071309
"It follows the form of the mathematical set-builder notation unlike the use of map and filter functions. It is used to create lists from either an existing like or a completely new list.\n",
13081310
" \n",
13091311
"Set bulider form:\n",
1310-
"{$x: x ~\\rm{\\epsilon~ list}$} \n",
1312+
"$\\{x: x ~\\rm{\\epsilon~ list}\\}$ \n",
13111313
"Example: \n",
13121314
"```python\n",
13131315
"list1 = [expression (loops)]\n",

DS_Tuples.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@
911911
"It follows the form of the mathematical set-builder notation unlike the use of map and filter functions. It is used to create tuples from either an existing one or a completely new tuple.\n",
912912
" \n",
913913
"Set bulider form:\n",
914-
"{$x: x ~\\rm{\\epsilon~ iterable}$} \n",
914+
"$\\{x: x ~\\rm{\\epsilon~ iterable}\\}$ \n",
915915
"Example: \n",
916916
"```python\n",
917917
"t = tuple(expression (loops))\n",

docs/DS_Lists.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ <h1>Data Structures or Derived data Types in Python:</h1>
4646
</ol>
4747
<h2>Lists:</h2>
4848
<p>Lists are ordered collection of data.
49-
Represented by square brackets &lsquo;[ ]&rsquo;<br>
50-
<code>list : [10, 20, 30, 'Hello', -2.0]</code></p>
49+
Represented by square brackets &lsquo;[ ]&rsquo; </p>
50+
<pre><code class="language-python">list : [10, 20, 30, 'Hello', -2.0]
51+
</code></pre>
5152
<p>Each value in the list is called a element<br>
5253
order of elements: index of element<br>
5354
Index - may be positive or negative </p>
@@ -618,7 +619,7 @@ <h3>2. Using * :</h3>
618619
<h2>List Comprehension:</h2>
619620
<p>It follows the form of the mathematical set-builder notation unlike the use of map and filter functions. It is used to create lists from either an existing like or a completely new list.</p>
620621
<p>Set bulider form:
621-
{$x: x ~\rm{\epsilon~ list}$}<br>
622+
${x: x ~\rm{\epsilon~ list}}$<br>
622623
Example: </p>
623624
<pre><code class="language-python">list1 = [expression (loops)]
624625
</code></pre>

docs/DS_Tuples.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ <h3>2. Using * :</h3>
419419
<h2>List Comprehension in tuples:</h2>
420420
<p>It follows the form of the mathematical set-builder notation unlike the use of map and filter functions. It is used to create tuples from either an existing one or a completely new tuple.</p>
421421
<p>Set bulider form:
422-
{$x: x ~\rm{\epsilon~ iterable}$}<br>
422+
${x: x ~\rm{\epsilon~ iterable}}$<br>
423423
Example: </p>
424424
<pre><code class="language-python">t = tuple(expression (loops))
425425
</code></pre>

0 commit comments

Comments
 (0)