Python
Python 3 Fundamentals
Learn Python from scratch with hands-on coding in your browser. Variables, conditionals, loops, functions, and two portfolio projects.
7.5 hours
Duration
43
Lessons
32
Coding exercises
10
Projects
9
Quizzes
Skill level
Python
Format
Video, Exercises, Projects, Quizzes
Duration
7.5 hours
Lessons
43
About This Course
About this course
What You'll Learn
Skills you'll walk away with
Variables, types, and basic operations
Conditionals and booleans
Lists, loops, and range()
Dictionaries and key-value data
Functions: define, call, parameters, return
String methods and slicing
Reading tracebacks and fixing bugs
Two portfolio projects for your resume
Curriculum
Course content
- Section 2 OverviewLesson—
- What is an integer?Lesson—
- What is a float?Lesson—
- Math in PythonLesson—
- Division: the two waysLesson—
- Your first calculationCoding Exercise—
- Writing big numbers cleanlyLesson—
- Strings and textLesson—
- When types collideLesson—
- Build a messageCoding Exercise—
- Section 2 QuizQuiz—
- Project: Receipt CalculatorProject—
- Section 3 overviewLesson—
- True, False, and how Python compares thingsLesson—
- Your first comparisonCoding Exercise—
- Making decisions with if, elif, and elseLesson—
- Choose The CannonballCoding Exercise—
- Sort Packages on a Conveyer BeltCoding Exercise—
- Nested conditionalsLesson—
- Two-level branchingCoding Exercise—
- Grade ruleCoding Exercise—
- Section 3 quizQuiz—
- Project: Movie Ticket PricingProject—
- Section 4 overviewLesson—
- Creating lists and indexingLesson—
- List first last lengthCoding Exercise—
- for loop over a listLesson—
- Loop and print itemsCoding Exercise—
- range()Lesson—
- Use rangeCoding Exercise—
- While loopsLesson—
- Countdown with whileCoding Exercise—
- Totals and countersLesson—
- Sum and countCoding Exercise—
- Section 4 quizQuiz—
- Project: Sales ReportProject—
- Section 6 overviewLesson—
- Defining and calling functionsLesson—
- Function that printsCoding Exercise—
- Parameters and returnLesson—
- Function sum of twoCoding Exercise—
- Default argumentsLesson—
- Optional greetingCoding Exercise—
- Function sum of listCoding Exercise—
- Section 6 quizQuiz—
- Project: Tip & Bill SplitterProject—
- Section 7 overviewLesson—
- String methodsLesson—
- Apply string methodsCoding Exercise—
- Slicing and inLesson—
- Slice and inCoding Exercise—
- Split, join, and searchLesson—
- Word count and uppercaseCoding Exercise—
- Split and joinCoding Exercise—
- Formatting with f-stringsLesson—
- Section 7 quizQuiz—
- Project: Username & Slug GeneratorProject—
Hands-on learning
This course includes 2 types of hands-on learning: coding exercises and projects
32 Coding exercises
Write and run code in your browser. Get instant feedback and optional hints as you build real programming skills.
10 Projects
Capstone projects that let you apply what you've learned. Build something practical you can add to your portfolio.