
Continue part two of the 25 projects of Python in 25 days, building on data types, conditionals, and loops to define and call functions and store values in data structures.
Explore how to define and call Python functions using def, name, parentheses, colon, and parameters; practice creating simple functions, returning values, and using loops and user input.
Learn how function parameters and return values power Python programming, including optional default parameters and passing arguments. See practical examples of summing numbers and greeting users by email or username.
Explore variable scope, local and global variables, and variable shadowing, then learn to use the global keyword to update data across functions, including a points-tracking example.
Explore recursive functions that call themselves to solve problems by breaking them into smaller subproblems, using factorials and Fibonacci sequences with base cases, and practice tracing code.
This unit four final project walkthrough builds a sum and product calculator using recursion, with error handling and a loop to process multiple start-stop ranges.
Explore why functions become essential as Python programs tackle complex tasks and get introduced to arrays in this first lesson of unit 5.
Walk through unit five final project for a phrase guessing game show, highlighting the display phase, the guessed words list, starter code, ten attempts, and the word-guess loop.
Discover how Python dictionaries use key value pairs to organize data and simplify retrieving and manipulating values in unit 6.
Learn the syntax of Python dictionaries, using curly braces and key-value pairs to store and access data. Recognize keys are unique and immutable; values can be any data type.
Learn to work with Python dictionaries by accessing, updating, adding, and deleting key-value pairs, checking membership, and using len to measure size.
Learn dictionary operations and manipulations, including keys, values, and items views, and use clear, pop, get, setdefault, and update to manage dicts and a contact list example.
Explore a basic word translator in unit six final project walkthrough and learn to build a Python dictionary-based translator that converts English to French and back.
Create a Python battle royale game with 100 players, 10 rounds, loot, medicine, and tools, with battles decided by tool power and health.
This final project walkthrough demonstrates building a battle royale game in python, detailing loot score, loop handling, battle resolution, and inventory printing with rounds, health, and tool drops.
Wraps up the course by celebrating completing 25 Python projects across six units, from data types and strings to loops, lists, dictionaries, and functions.
Welcome to Part 2 of the 25 Projects of Python in 25 Days course!
This course is for students who want to dive deeper into Python programming. Students who breezed through Part 1 of the 25 Projects of Python in 25 Days Course should take this course as well. Students who have not yet completed Part 1 of the course series are recommended to do so before starting this course unless they already have a strong understanding of Python data types, conditional statements, and loops. Part 1 of the 25 Projects of Python in 25 Days course included:
Basic Data Types (Integers, Floats, Strings)
Basic Python Operations
Taking Input from users
Basic String Manipulation
Imported Modules
If/Else/Elif conditional statements
Comparison Operators and Boolean Expressions
Nested Conditionals and Multi-Way Decisions
While Loops and For Loops
Loop Control Statements
Loop Patterns (counting and summing)
In this part of the course, we will go over more advanced Python topics:
Defining Functions
Utilizing Functions in Python Programs
Passing Arguments into your Function
Recursive Functions
Introduction to Data Structures
Storing Elements in Lists and Dictionaries
Data Structure Operations and Manipulations
At the end of this course, you will find the Battle Royale Final Project, which will incorporate lesson material learned from BOTH Part 1 AND Part 2 of the 25 Projects of Python in 25 Days course.