Skip to content

Commit 3ac4267

Browse files
updated
1 parent a92377e commit 3ac4267

File tree

151 files changed

+1449
-27244
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+1449
-27244
lines changed

1-print/1-print.ipynb

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/PavanMudigondaTR/python-bro-code/blob/main/1-print/1-print.ipynb) [![Kaggle](https://kaggle.com/static/images/open-in-kaggle.svg)](https://kaggle.com/kernels/welcome?src=https://raw.githubusercontent.com/PavanMudigondaTR/python-bro-code/main/1-print/1-print.ipynb)"
7+
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/PavanMudigonda/python-bro-code/blob/main/1-print/1-print.ipynb) [![Open In Kaggle](https://img.shields.io/badge/Open%20in-Kaggle-20BEFF?style=flat&logo=kaggle)](https://kaggle.com/kernels/welcome?src=https://github.com/PavanMudigonda/python-bro-code/blob/main/1-print/1-print.ipynb)"
88
]
99
},
1010
{
@@ -13,22 +13,20 @@
1313
"source": [
1414
"# Chapter 1: Print Statement\n",
1515
"\n",
16-
"## \ud83d\udcfa Video Tutorial\n",
16+
"## 📺 Video Tutorial\n",
1717
"\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",
1919
"\n",
20-
"[![Watch on YouTube](https://img.shields.io/badge/Watch-YouTube-red?style=for-the-badge&logo=youtube)](https://youtu.be/Sg4GMVMdOPo)\n",
21-
"\n",
22-
"## \ufffd\ud83d\udcda What You'll Learn\n",
20+
"## �📚 What You'll Learn\n",
2321
"In this chapter, you'll learn about the `print()` function, which is your first step in Python programming!\n",
2422
"\n",
25-
"## \ud83c\udfaf Learning Objectives\n",
23+
"## 🎯 Learning Objectives\n",
2624
"- Understand what the `print()` function does\n",
2725
"- Learn how to display text to the console\n",
2826
"- Write your first Python program\n",
2927
"- Understand the basics of Python comments\n",
3028
"\n",
31-
"## \ud83d\udcd6 Concept Explanation\n",
29+
"## 📖 Concept Explanation\n",
3230
"\n",
3331
"### The print() Function\n",
3432
"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 @@
4745
"- Each `print()` statement creates a new line by default\n",
4846
"- You can print numbers, text, and other data types\n",
4947
"\n",
50-
"## \ud83d\udca1 Examples\n",
48+
"## 💡 Examples\n",
5149
"\n",
5250
"### Basic Print\n",
5351
"```python\n",
@@ -61,33 +59,33 @@
6159
"print(\"Line 3\")\n",
6260
"```\n",
6361
"\n",
64-
"## \u270d\ufe0f Practice Exercises\n",
62+
"## ✍️ Practice Exercises\n",
6563
"1. Print your name to the console\n",
6664
"2. Print your favorite hobby\n",
6765
"3. Create a program that prints a short poem (3-4 lines)\n",
6866
"4. Print your age and favorite color on separate lines\n",
6967
"\n",
70-
"## \ud83d\ude80 Try It Yourself\n",
68+
"## 🚀 Try It Yourself\n",
7169
"Modify `main.py` to print information about yourself!\n",
7270
"\n",
73-
"## \ud83d\udcdd Comments\n",
71+
"## 📝 Comments\n",
7472
"Comments are lines that Python ignores. They help explain your code:\n",
7573
"```python\n",
7674
"# This is a comment\n",
7775
"print(\"This is code\") # This is also a comment\n",
7876
"```\n",
7977
"\n",
80-
"## \ud83c\udf93 Key Takeaways from Video\n",
78+
"## 🎓 Key Takeaways from Video\n",
8179
"\n",
8280
"1. Download Python interpreter from python.org\n",
8381
"2. Install an IDE (PyCharm or VS Code) for writing Python code\n",
8482
"3. Add Python to PATH during installation (Windows)\n",
8583
"4. Create a new Python project and file\n",
8684
"5. Lists store multiple items in a single variable\n",
8785
"\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",
8987
"\n",
90-
"## \ud83d\udd17 Next Chapter\n",
88+
"## 🔗 Next Chapter\n",
9189
"Continue to [Chapter 2: Variables](../2-variables/) to learn about storing data!\n",
9290
"\n"
9391
]
@@ -121,4 +119,4 @@
121119
"metadata": {},
122120
"nbformat": 4,
123121
"nbformat_minor": 4
124-
}
122+
}

1-print/README.md

Lines changed: 0 additions & 81 deletions
This file was deleted.

10-logical-operators/10-logical-operators.ipynb

Lines changed: 22 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"cell_type": "markdown",
55
"metadata": {},
66
"source": [
7-
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/PavanMudigondaTR/python-bro-code/blob/main/10-logical-operators/10-logical-operators.ipynb) [![Kaggle](https://kaggle.com/static/images/open-in-kaggle.svg)](https://kaggle.com/kernels/welcome?src=https://raw.githubusercontent.com/PavanMudigondaTR/python-bro-code/main/10-logical-operators/10-logical-operators.ipynb)"
7+
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/PavanMudigonda/python-bro-code/blob/main/10-logical-operators/10-logical-operators.ipynb) [![Open In Kaggle](https://img.shields.io/badge/Open%20in-Kaggle-20BEFF?style=flat&logo=kaggle)](https://kaggle.com/kernels/welcome?src=https://github.com/PavanMudigonda/python-bro-code/blob/main/10-logical-operators/10-logical-operators.ipynb)"
88
]
99
},
1010
{
@@ -13,26 +13,22 @@
1313
"source": [
1414
"# Chapter 11: Logical Operators\n",
1515
"\n",
16-
"## \ud83d\udcfa Video Tutorial\n",
16+
"## 📺 Video Tutorial\n",
1717
"\n",
18-
"**Logical operators in Python are easy \ud83d\udd23** (7:56)\n",
18+
"**Logical operators in Python are easy 🔣** (7:56)\n",
1919
"\n",
20-
"[![Watch on YouTube](https://img.shields.io/badge/Watch-YouTube-red?style=for-the-badge&logo=youtube)](https://youtu.be/W7luvtXeQTA)\n",
20+
"## 📺 Video Tutorial\n",
2121
"\n",
22-
"## \ud83d\udcfa Video Tutorial\n",
23-
"\n",
24-
"[![Watch on YouTube](https://img.shields.io/badge/Watch-BroCode_Python_Master_Class-red?style=for-the-badge&logo=youtube)](https://youtu.be/TYyKQBC4bwE)\n",
25-
"\n",
26-
"## \ud83d\udcda What You'll Learn\n",
22+
"## 📚 What You'll Learn\n",
2723
"Combine multiple conditions using logical operators to create powerful decision-making logic!\n",
2824
"\n",
29-
"## \ud83c\udfaf Learning Objectives\n",
25+
"## 🎯 Learning Objectives\n",
3026
"- Understand AND, OR, and NOT logical operators\n",
3127
"- Combine multiple conditions in if statements\n",
3228
"- Create complex decision-making logic\n",
3329
"- Use truth tables to understand operator behavior\n",
3430
"\n",
35-
"## \ud83d\udcd6 Concept Explanation\n",
31+
"## 📖 Concept Explanation\n",
3632
"\n",
3733
"### Logical Operators\n",
3834
"Logical operators combine boolean expressions (conditions) to create more complex logic.\n",
@@ -86,7 +82,7 @@
8682
"| True | False |\n",
8783
"| False | True |\n",
8884
"\n",
89-
"## \ud83d\udca1 Examples\n",
85+
"## 💡 Examples\n",
9086
"\n",
9187
"### Example 1: Age and License Check\n",
9288
"```python\n",
@@ -132,7 +128,7 @@
132128
" print(\"Access denied!\")\n",
133129
"```\n",
134130
"\n",
135-
"## \u270d\ufe0f Practice Exercises\n",
131+
"## ✍️ Practice Exercises\n",
136132
"\n",
137133
"1. **Voting Eligibility**: Check if person can vote (age >= 18 AND is_citizen)\n",
138134
"2. **Discount Calculator**: Apply discount if purchase > $100 OR is_member\n",
@@ -141,7 +137,7 @@
141137
"5. **Weather Outfit**: Suggest outfit based on temp AND (is_raining OR is_snowing)\n",
142138
"6. **Access Control**: Grant access if (is_admin OR is_manager) AND is_active\n",
143139
"\n",
144-
"## \ud83d\udd0d Common Mistakes\n",
140+
"## 🔍 Common Mistakes\n",
145141
"\n",
146142
"### Mistake 1: Confusing AND with OR\n",
147143
"```python\n",
@@ -172,7 +168,7 @@
172168
"if username == \"admin\": # Comparison\n",
173169
"```\n",
174170
"\n",
175-
"## \ud83d\udcdd Operator Precedence\n",
171+
"## 📝 Operator Precedence\n",
176172
"Python evaluates operators in this order:\n",
177173
"1. Parentheses `()`\n",
178174
"2. `not`\n",
@@ -188,7 +184,7 @@
188184
"result = (True or False) and False # False\n",
189185
"```\n",
190186
"\n",
191-
"## \ud83c\udfae Real-World Examples\n",
187+
"## 🎮 Real-World Examples\n",
192188
"\n",
193189
"### Example: E-commerce Discount\n",
194190
"```python\n",
@@ -213,27 +209,27 @@
213209
"has_motion = False\n",
214210
"\n",
215211
"if is_armed and (is_door_open or (is_night and has_motion)):\n",
216-
" print(\"\ud83d\udea8 ALERT! Intrusion detected!\")\n",
212+
" print(\"🚨 ALERT! Intrusion detected!\")\n",
217213
"else:\n",
218-
" print(\"\u2713 System normal\")\n",
214+
" print(\" System normal\")\n",
219215
"```\n",
220216
"\n",
221-
"## \ud83d\ude80 Challenge Projects\n",
217+
"## 🚀 Challenge Projects\n",
222218
"\n",
223219
"1. **Smart Thermostat**: Turn on AC if (temp > 75 and is_home) or override_on\n",
224220
"2. **Library Fine Calculator**: Fine if overdue AND (not is_student OR days > 7)\n",
225221
"3. **Flight Booking**: Available if (seats > 0) and (has_passport or is_domestic)\n",
226222
"4. **Game Level Unlock**: Unlock if (score >= 1000 and level >= 5) or has_premium\n",
227223
"\n",
228-
"## \ud83c\udf93 Key Takeaways from Video\n",
224+
"## 🎓 Key Takeaways from Video\n",
229225
"\n",
230226
"1. Conditionals execute code based on conditions\n",
231227
"2. Use if-elif-else for conditional logic\n",
232228
"3. Follow along with the video for hands-on practice\n",
233229
"\n",
234-
"> \ud83d\udca1 *These points cover the main concepts from the video tutorial to help reinforce your learning.*\n",
230+
"> 💡 *These points cover the main concepts from the video tutorial to help reinforce your learning.*\n",
235231
"\n",
236-
"## \ud83d\udd17 Next Chapter\n",
232+
"## 🔗 Next Chapter\n",
237233
"Continue to [Chapter 12: Conditional Expressions](../12-conditional/) to learn shorthand if-else statements!\n",
238234
"\n"
239235
]
@@ -287,13 +283,13 @@
287283
"# ============================================\n",
288284
"# Logical Operators Summary:\n",
289285
"# ============================================\n",
290-
"# and \u2192 Both conditions must be True\n",
291-
"# or \u2192 At least one condition must be True\n",
292-
"# not \u2192 Reverses the boolean value"
286+
"# and Both conditions must be True\n",
287+
"# or At least one condition must be True\n",
288+
"# not Reverses the boolean value"
293289
]
294290
}
295291
],
296292
"metadata": {},
297293
"nbformat": 4,
298294
"nbformat_minor": 4
299-
}
295+
}

0 commit comments

Comments
 (0)