Skip to content

Commit 52c9301

Browse files
committed
updated LABs notes
1 parent 395d21c commit 52c9301

7 files changed

Lines changed: 1641 additions & 804 deletions

LAB/14-random-num.ipynb

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@
163163
]
164164
},
165165
{
166-
"cell_type": "markdown",
167-
"id": "f35baec6-46c1-4730-9f65-af6b323eb420",
166+
"cell_type": "raw",
167+
"id": "f6be7640-d3ff-4ddd-a702-59959419ed61",
168168
"metadata": {},
169169
"source": [
170170
"## Key Difference between randint and randrange\n",
@@ -615,6 +615,14 @@
615615
"## PRO TIP\n",
616616
"- Secrets is more secure because it uses OS-level entropy (mouse movement, CPU timing, hardware noise), making outputs unpredictable, while random is deterministic and can be predicted if the seed or state is known."
617617
]
618+
},
619+
{
620+
"cell_type": "code",
621+
"execution_count": null,
622+
"id": "0f68ac10-1fd6-4877-8085-a8ea445269a6",
623+
"metadata": {},
624+
"outputs": [],
625+
"source": []
618626
}
619627
],
620628
"metadata": {

LAB/26-sets.ipynb

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,51 @@
11
{
22
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": 168,
6+
"id": "064e495e-666e-4ac6-8ee2-0f128bd87e04",
7+
"metadata": {
8+
"jupyter": {
9+
"source_hidden": true
10+
}
11+
},
12+
"outputs": [
13+
{
14+
"data": {
15+
"text/html": [
16+
"<!-- CSS settings for this notebook -->\n",
17+
"<style>\n",
18+
" h1 {color:#EE0000} /* Red Hat red */\n",
19+
" hr { \n",
20+
" border: 0;\n",
21+
" height: 3px;\n",
22+
" background: #333;\n",
23+
" background-image: linear-gradient(to right, #ccc, #EE0000, #ccc);\n",
24+
" }\n",
25+
"</style>\n"
26+
],
27+
"text/plain": [
28+
"<IPython.core.display.HTML object>"
29+
]
30+
},
31+
"metadata": {},
32+
"output_type": "display_data"
33+
}
34+
],
35+
"source": [
36+
"%%html\n",
37+
"<!-- CSS settings for this notebook -->\n",
38+
"<style>\n",
39+
" h1 {color:#EE0000} /* Red Hat red */\n",
40+
" hr { \n",
41+
" border: 0;\n",
42+
" height: 3px;\n",
43+
" background: #333;\n",
44+
" background-image: linear-gradient(to right, #ccc, #EE0000, #ccc);\n",
45+
" }\n",
46+
"</style>"
47+
]
48+
},
349
{
450
"cell_type": "markdown",
551
"id": "744c2a85-14b8-4037-b2f1-d384fa996102",

0 commit comments

Comments
 (0)