
Already know some of this? A 2-minute test skips the lessons you know.
Take the placement testA free 85-lesson course built from Bro Code's 12h 00m of YouTube video. 7 days at 90 minutes a day, with study notes and a quiz in every lesson. A 2-minute placement test skips what you already know.
Taught by Bro Code on YouTube. Videos play in YouTube's own player, so the creator keeps every view.
Learn what the course covers, install Python and PyCharm, and create your first project.
Create variables for strings, integers, floats, and booleans and use them in f-strings.
Convert variables between data types using int(), float(), str(), and bool().
Use the input() function to get user data and type-cast it for calculations.
Build a Mad Libs story generator that fills in blanks with user-supplied words.
Use +, -, *, /, **, %, and augmented operators (+=, -=, etc.) on numbers.
Write if, elif, else blocks with ==, !=, <, >, <=, >= to control program flow.
Convert between Celsius and Fahrenheit based on user input.
Combine multiple conditions using and, or, and not in if statements.
Write one-line if-else expressions to assign or return values based on a condition.
Use len(), find(), rfind(), capitalize(), upper(), lower(), isdigit() to validate input.
Access characters and substrings with square-bracket notation and slice syntax.
Format numbers with precision, padding, alignment, and thousands separators in f-strings.
Repeat code while a condition is true; validate user input with while loops.
Calculate compound interest with while-loop validation for principal, rate, and time.
Iterate a fixed number of times with for loops, range(), reversed(), and step.
Build a digital countdown clock using time.sleep() and datetime formatting.
Create a guess-the-number game with input validation and high/low hints.
Implement rock-paper-scissors with random computer choices and replay loop.
Display dice faces using Unicode box-drawing characters and random rolls.
Create and index 2D lists and tuples; iterate with nested loops.
Build a shopping cart using lists for foods and prices with a while-loop menu.
Create dictionaries, add/update/remove keys, and use get(), keys(), values(), items().
Explore pop(), popitem(), clear(), setdefault(), and dictionary comprehensions.
Pack positional and keyword arguments into a tuple and dict for flexible functions.
Write concise list comprehensions with optional conditions and expressions.
Import built-in modules, create custom modules, and use aliases to avoid name conflicts.
Understand Local, Enclosed, Global, Built-in scope resolution order.
Guard main execution so modules can be imported without running the script.
Define classes with __init__, create objects, and access attributes via dot notation.
Add methods to classes, use self, and organize classes into separate files.
Share data across all instances with class variables defined outside __init__.
Create subclasses, override parent methods, and extend them with super().
Inherit from multiple parents and chain inheritance across generations.
Call parent constructors and methods to reuse and extend functionality.
Treat objects as parent types via inheritance or duck typing matches required attributes/methods.
Define @staticmethod for utilities and @classmethod for class-level operations.
Implement __str__, __eq__, __lt__, __add__, __contains__, __getitem__ for operator overloading.
Control attribute access with @property, @attr.setter, @attr.deleter.
Extend function behavior with wrapper functions and @decorator syntax.
Catch specific exceptions, use else/finally blocks, and avoid bare except.
Check file existence and type with os.path.exists, isfile, isdir.
Use open(), json.load/dump, csv.reader/writer with context managers.
Create date/time objects, format with strftime, and compare datetimes.
Build a GUI alarm clock that plays a sound when the target time is reached.
Run I/O-bound tasks concurrently using Thread, start(), join(), and args.
Set up QApplication, QWidget, window title, geometry, and icon.
Add QLabel, set QFont, align text, and style with CSS-like setStyleSheet.
Load images into QPixmap, set on QLabel, and enable scaled contents.
Arrange widgets vertically, horizontally, or in a grid with layout managers.
Connect QPushButton.clicked to custom slots; use setStyleSheet for hover effects.
Get text from QLineEdit on button click; use placeholder text for hints.
Target widgets by objectName with ID selectors; use HSL colors and :hover pseudo-class.
Create a QWidget-based clock with QTimer updating a QLabel every second.
Build a stopwatch with start/stop/reset buttons and millisecond display.
Fetch real-time weather data, parse JSON, handle errors, and display in a PyQt5 GUI.