Python Basics Course

Go to class
Write Review

Free Online Course: Python Basics Course provided by Treehouse is a comprehensive online course, which lasts for 3-4 hours worth of material. The course is taught in English and is free of charge.

Overview
  • Learn the building blocks of the wonderful general purpose programming language Python.

    What you'll learn

    • Fundamental programming concepts
    • Input and Output
    • Conditional branching
    • Loops
    • Exception handling

Syllabus
  • Meet Python

    Discover Python

    Chevron 12 steps
    • Welcome

      4:43

    • Running Scripts

      4:59

    • Running Python Scripts

      2 questions

    • The Python Shell

      6:06

    • REPL

      2 questions

    • Syntax and Errors

      8:32

    • Syntax and Errors

      4 questions

    • Variables

      9:51

    • instruction

      Code Challenges

    • Create a Variable

      2 objectives

    • Input and Coding Style

      6:11

    • Using Input

      2 objectives

    Types and Branching

    Python deals with various data types such as numbers, strings of characters and boolean values. Learn how to control the flow of your script.

    Chevron 12 steps
    • Numeric

      10:57

    • Numbers

      4 questions

    • Strings and Operators

      7:17

    • Strings

      2 questions

    • String Methods

      8:26

    • More Strings

      3 questions

    • Booleans

      7:51

    • Logic

      4 questions

    • If, Else and Elif

      11:12

    • Use an if

      1 objective

    • Comparisons

      10:56

    • Comparing values

      4 questions

    Functions and Looping

    Explore powerful programming constructs that lead to clean, reusable, and maintainable code.

    Chevron 12 steps
    • Functions

      11:37

    • Reviewing Functions

      3 questions

    • Returning Values

      11:27

    • Create a Function

      2 objectives

    • Expecting Exceptions

      7:15

    • Exception Flow

      2 questions

    • Raising Exceptions

      4:45

    • Raise an Exception

      1 objective

    • While Loops

      9:32

    • Manners

      2 questions

    • For Loops

      3:08

    • For Looping

      1 question

    All Together Now

    Apply your new found skills in a console-based ticket purchasing application

    Chevron 7 steps
    • The Project

      4:15

    • Gather Information

      6:42

    • Branch and Loop

      9:26

    • Handle Exceptions

      9:05

    • Cleaner Code Through Refactoring

      6:40

    • Wrapping Up

      2:19

    • Wrap Up

      5 questions