You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-print/1-print.ipynb
+14-16Lines changed: 14 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
"cell_type": "markdown",
5
5
"metadata": {},
6
6
"source": [
7
-
"[](https://colab.research.google.com/github/PavanMudigondaTR/python-bro-code/blob/main/1-print/1-print.ipynb) [](https://kaggle.com/kernels/welcome?src=https://raw.githubusercontent.com/PavanMudigondaTR/python-bro-code/main/1-print/1-print.ipynb)"
7
+
"[](https://colab.research.google.com/github/PavanMudigonda/python-bro-code/blob/main/1-print/1-print.ipynb) [](https://kaggle.com/kernels/welcome?src=https://github.com/PavanMudigonda/python-bro-code/blob/main/1-print/1-print.ipynb)"
8
8
]
9
9
},
10
10
{
@@ -13,22 +13,20 @@
13
13
"source": [
14
14
"# Chapter 1: Print Statement\n",
15
15
"\n",
16
-
"## \ud83d\udcfa Video Tutorial\n",
16
+
"## 📺 Video Tutorial\n",
17
17
"\n",
18
-
"**Start coding with PYTHON in 5 minutes! \ud83d\udc0d** (5:13)\n",
18
+
"**Start coding with PYTHON in 5 minutes! 🐍** (5:13)\n",
19
19
"\n",
20
-
"[](https://youtu.be/Sg4GMVMdOPo)\n",
21
-
"\n",
22
-
"## \ufffd\ud83d\udcda What You'll Learn\n",
20
+
"## �📚 What You'll Learn\n",
23
21
"In this chapter, you'll learn about the `print()` function, which is your first step in Python programming!\n",
24
22
"\n",
25
-
"## \ud83c\udfaf Learning Objectives\n",
23
+
"## 🎯 Learning Objectives\n",
26
24
"- Understand what the `print()` function does\n",
27
25
"- Learn how to display text to the console\n",
28
26
"- Write your first Python program\n",
29
27
"- Understand the basics of Python comments\n",
30
28
"\n",
31
-
"## \ud83d\udcd6 Concept Explanation\n",
29
+
"## 📖 Concept Explanation\n",
32
30
"\n",
33
31
"### The print() Function\n",
34
32
"The `print()` function is one of Python's built-in functions that displays output to the console/terminal. It's used to:\n",
@@ -47,7 +45,7 @@
47
45
"- Each `print()` statement creates a new line by default\n",
48
46
"- You can print numbers, text, and other data types\n",
49
47
"\n",
50
-
"## \ud83d\udca1 Examples\n",
48
+
"## 💡 Examples\n",
51
49
"\n",
52
50
"### Basic Print\n",
53
51
"```python\n",
@@ -61,33 +59,33 @@
61
59
"print(\"Line 3\")\n",
62
60
"```\n",
63
61
"\n",
64
-
"## \u270d\ufe0f Practice Exercises\n",
62
+
"## ✍️ Practice Exercises\n",
65
63
"1. Print your name to the console\n",
66
64
"2. Print your favorite hobby\n",
67
65
"3. Create a program that prints a short poem (3-4 lines)\n",
68
66
"4. Print your age and favorite color on separate lines\n",
69
67
"\n",
70
-
"## \ud83d\ude80 Try It Yourself\n",
68
+
"## 🚀 Try It Yourself\n",
71
69
"Modify `main.py` to print information about yourself!\n",
72
70
"\n",
73
-
"## \ud83d\udcdd Comments\n",
71
+
"## 📝 Comments\n",
74
72
"Comments are lines that Python ignores. They help explain your code:\n",
75
73
"```python\n",
76
74
"# This is a comment\n",
77
75
"print(\"This is code\") # This is also a comment\n",
78
76
"```\n",
79
77
"\n",
80
-
"## \ud83c\udf93 Key Takeaways from Video\n",
78
+
"## 🎓 Key Takeaways from Video\n",
81
79
"\n",
82
80
"1. Download Python interpreter from python.org\n",
83
81
"2. Install an IDE (PyCharm or VS Code) for writing Python code\n",
84
82
"3. Add Python to PATH during installation (Windows)\n",
85
83
"4. Create a new Python project and file\n",
86
84
"5. Lists store multiple items in a single variable\n",
87
85
"\n",
88
-
"> \ud83d\udca1 *These points cover the main concepts from the video tutorial to help reinforce your learning.*\n",
86
+
"> 💡 *These points cover the main concepts from the video tutorial to help reinforce your learning.*\n",
89
87
"\n",
90
-
"## \ud83d\udd17 Next Chapter\n",
88
+
"## 🔗 Next Chapter\n",
91
89
"Continue to [Chapter 2: Variables](../2-variables/) to learn about storing data!\n",
Copy file name to clipboardExpand all lines: 10-logical-operators/10-logical-operators.ipynb
+22-26Lines changed: 22 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
"cell_type": "markdown",
5
5
"metadata": {},
6
6
"source": [
7
-
"[](https://colab.research.google.com/github/PavanMudigondaTR/python-bro-code/blob/main/10-logical-operators/10-logical-operators.ipynb) [](https://kaggle.com/kernels/welcome?src=https://raw.githubusercontent.com/PavanMudigondaTR/python-bro-code/main/10-logical-operators/10-logical-operators.ipynb)"
7
+
"[](https://colab.research.google.com/github/PavanMudigonda/python-bro-code/blob/main/10-logical-operators/10-logical-operators.ipynb) [](https://kaggle.com/kernels/welcome?src=https://github.com/PavanMudigonda/python-bro-code/blob/main/10-logical-operators/10-logical-operators.ipynb)"
8
8
]
9
9
},
10
10
{
@@ -13,26 +13,22 @@
13
13
"source": [
14
14
"# Chapter 11: Logical Operators\n",
15
15
"\n",
16
-
"## \ud83d\udcfa Video Tutorial\n",
16
+
"## 📺 Video Tutorial\n",
17
17
"\n",
18
-
"**Logical operators in Python are easy \ud83d\udd23** (7:56)\n",
18
+
"**Logical operators in Python are easy 🔣** (7:56)\n",
19
19
"\n",
20
-
"[](https://youtu.be/W7luvtXeQTA)\n",
20
+
"## 📺 Video Tutorial\n",
21
21
"\n",
22
-
"## \ud83d\udcfa Video Tutorial\n",
23
-
"\n",
24
-
"[](https://youtu.be/TYyKQBC4bwE)\n",
25
-
"\n",
26
-
"## \ud83d\udcda What You'll Learn\n",
22
+
"## 📚 What You'll Learn\n",
27
23
"Combine multiple conditions using logical operators to create powerful decision-making logic!\n",
28
24
"\n",
29
-
"## \ud83c\udfaf Learning Objectives\n",
25
+
"## 🎯 Learning Objectives\n",
30
26
"- Understand AND, OR, and NOT logical operators\n",
31
27
"- Combine multiple conditions in if statements\n",
32
28
"- Create complex decision-making logic\n",
33
29
"- Use truth tables to understand operator behavior\n",
34
30
"\n",
35
-
"## \ud83d\udcd6 Concept Explanation\n",
31
+
"## 📖 Concept Explanation\n",
36
32
"\n",
37
33
"### Logical Operators\n",
38
34
"Logical operators combine boolean expressions (conditions) to create more complex logic.\n",
@@ -86,7 +82,7 @@
86
82
"| True | False |\n",
87
83
"| False | True |\n",
88
84
"\n",
89
-
"## \ud83d\udca1 Examples\n",
85
+
"## 💡 Examples\n",
90
86
"\n",
91
87
"### Example 1: Age and License Check\n",
92
88
"```python\n",
@@ -132,7 +128,7 @@
132
128
" print(\"Access denied!\")\n",
133
129
"```\n",
134
130
"\n",
135
-
"## \u270d\ufe0f Practice Exercises\n",
131
+
"## ✍️ Practice Exercises\n",
136
132
"\n",
137
133
"1. **Voting Eligibility**: Check if person can vote (age >= 18 AND is_citizen)\n",
138
134
"2. **Discount Calculator**: Apply discount if purchase > $100 OR is_member\n",
@@ -141,7 +137,7 @@
141
137
"5. **Weather Outfit**: Suggest outfit based on temp AND (is_raining OR is_snowing)\n",
142
138
"6. **Access Control**: Grant access if (is_admin OR is_manager) AND is_active\n",
143
139
"\n",
144
-
"## \ud83d\udd0d Common Mistakes\n",
140
+
"## 🔍 Common Mistakes\n",
145
141
"\n",
146
142
"### Mistake 1: Confusing AND with OR\n",
147
143
"```python\n",
@@ -172,7 +168,7 @@
172
168
"if username == \"admin\": # Comparison\n",
173
169
"```\n",
174
170
"\n",
175
-
"## \ud83d\udcdd Operator Precedence\n",
171
+
"## 📝 Operator Precedence\n",
176
172
"Python evaluates operators in this order:\n",
177
173
"1. Parentheses `()`\n",
178
174
"2. `not`\n",
@@ -188,7 +184,7 @@
188
184
"result = (True or False) and False # False\n",
189
185
"```\n",
190
186
"\n",
191
-
"## \ud83c\udfae Real-World Examples\n",
187
+
"## 🎮 Real-World Examples\n",
192
188
"\n",
193
189
"### Example: E-commerce Discount\n",
194
190
"```python\n",
@@ -213,27 +209,27 @@
213
209
"has_motion = False\n",
214
210
"\n",
215
211
"if is_armed and (is_door_open or (is_night and has_motion)):\n",
0 commit comments