Python Fundamental Exercises¶
- 1. Introduction to Programming
- 📓 Introduction to Programming
- ▶️ Install and Setup for Mac and Windows
- ▶️ Visual Studio Code (Windows)
- ▶️ Visual Studio Code (Mac)
- Installing Python
- Interpreter Check
- Execution Practice
- An Important Message
- Escape Artist
- Comments
- A Letter to Your Principal
- Your Initials
- ▶️ Integers and Floats - Working with Numeric Data
- Numbers and Math
- 📓 Strings
- ▶️ Strings - Working with Textual Data
- Variables and Names
- More Variables and Printing
- Using Variables
- Still Using Variables
- Your Schedule
- ▶️ Get Input from the User
- User Input
- The Forgetful Machine
- Name, Age, and Salary
- More User Input of Data
- Age in Five Years
- A Silly Calculator
- BMI Calculator
- 2. If Statements
- 3. GUIs
- 4. If Statements II
- 5. Random Numbers
- 6. While Loops
- 7. Post-test Loops
- 8. While Loops II
- 9. For Loops
- 📓 For Loops
- ▶️ For Loop
- ▶️ range() Function
- ▶️ Range Starting Position
- ▶️ Step in Range Explained
- Counting with a For Loop
- Ten Times
- Counting Machine
- Counting Machine Revisited
- Counting by Halves
- Xs and Ys
- Noticing Even Numbers
- Fizz Buzz
- Letter at a Time
- For Loop Challenge
- Adding Values with a For Loop
- 10. Project
- 11. Graphics
- 12. Functions
- 📓 Functions
- ▶️ Functions (watch until 10:30)
- ▶️ Variable Scope (watch until 9:20)
- Picture Menu
- Flicker Phrase
- Heron's Formula
- Distance Formula
- Month Name
- Month Offset
- Weekday Calculator
- Area Calculator
- Function Call Alphabet
- Fill-In Functions
- More Fill-In Functions
- Keychains for Sale
- Keychains for Sale, for real this time
- Keychains for Sale, real ultimate power
- ▶️ Import Modules (watch until 6:30)
- ▶️ if __name__ == '__main__'
- Importing Functions from Other Files
- Evenness Function
- Finding Prime Numbers
- 13. Project II
- 14. Exceptions
- 📓 Python Docs: Errors and Exceptions
- ▶️ Python Tutorial: Using Try/Except Blocks for Error Handling
- No Negative Args, Please!
- An Abundance of Caution
- Try a Validation Loop
- Modify Evenness Function
- Modify Heron's Formula
- Modify Month Name
- Month Name Handling
- Refactor Most Common Issue
- A Picky Function
- Serious Menu Error Handling
- 15. For Loops II
- 16. Nested Loops
- 17. File RW
- 18. Lists
- 📓 Lists
- ▶️ Lists, Tuples, and Sets (optional after 20:10)
- ▶️ Slicing Lists and Strings (optional)
- Basic Lists 0
- Basic Lists 1
- Basic Lists 2
- Basic Lists 3
- Copying Lists
- Grades in a List and a File
- Finding a Value in a List
- How Many Times?
- Is It There or Not?
- Where Is It?
- Finding the Largest Value in a List
- Locating the Largest Value in a List
- Giving a List a Bunch of Values at Once
- Parallel Lists
- Tic-Tac-Toe
- Hangman
- 19. Sorting
- 20. Graphics II
- 21. Dictionaries
- 📓 Dictionaries
- ▶️ Dictionaries
- Person Info
- Mini Passivist RPG
- Converting a List
- Converting Parallel Lists
- Fields in a Row
- Country Capitals
- Using Keys Method to Edit All Fields
- Modify and Rewrite
- Most Difficult Published Exercise
- Restructuring Database
- Adding Unique Entries
- Inventory Management System
- 22. Classes: Fields
- 📓 Classes
- ▶️ Classes and Instances (until 4:46)
- Web Addresses
- Web Addresses List
- Address str Method
- Basic Classes
- A Little Database
- A Little Database is shorter with a loop
- Getting Data from a File
- Getting More Data from a File
- Storing Data in a File
- Reading What You Wrote
- Searching Objects
- Filtering Objects
- Sorting a List of Objects
- Sorting String Fields
- Sorting Objects on Two Fields
- 23. Project III
- 24. Classes: Methods
- 25. Classes: Inheritance
- 26. Project Euler
- 001 - Sum Multiples of 3 or 5
- 002 - Sum Even Fibonacci Numbers
- 003 - Largest Prime Factor of Big Number
- 004 - Largest Palindromic Product
- 005 - Smallest Divisible by 1-20
- 006 - Sums of Squares Minus Squares of Sums
- 007 - The 10001st Prime
- 008 - Largest Product of Consecutive Digits
- 009 - Pythagorean Triplet
- 010 - Sum of Primes Under Two Million
- 011 - Largest Product of 4 Numbers in Grid
- 012 - First Triangle Number w/501 Divisors
- 013 - Sum 100 Fifty-Digit Numbers
- 014 - Longest Collatz Sequence
- 015 - Routes Through a 20x20 Grid
- 016 - Sum of the Digits of 2^1000
- 017 - Letters in One to One Thousand
- 018 - Maximum Sum Path through Triangle
- 019 - Sundays on the 1st of the Month
- 020 - Sum of the Digits of 100!
- 27. Project IIII