Please enable JavaScript to use CodeHS

Intro to Python Textbook

1. Python and Console Interaction {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 1.1 Introduction {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 1.2 Printing in Python {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 1.3 Variables and Types {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 1.4 User Input {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 1.5 Mathematical Operators {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 1.6 String Operators {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 1.7 Comments
2. Conditionals {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 2.1 Booleans {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 2.2 If Statements {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 2.3 Comparison Operators {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 2.4 Logical Operators {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 2.5 Floating Point Numbers and Rounding
3. Looping {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 3.1 While Loops {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 3.2 For Loops {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 3.3 Break and Continue {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 3.4 Nested Control Structures
4. Functions and Exceptions {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 4.1 Functions {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 4.2 Functions and Parameters {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 4.3 Namespaces in Functions {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 4.4 Functions and Return Values {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 4.5 Exceptions
5. Strings {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 5.1 Indexing {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 5.2 Slicing {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 5.3 Immutability {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 5.4 Strings and For Loops {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 5.5 The in Keyword {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 5.6 String Methods
6. Creating and Altering Data Structure {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 6.1 Tuples {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 6.2 Lists {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 6.3 For Loops and Lists {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 6.4 List Methods
7. Extending Data Structures {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 7.1 2D Lists {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 7.2 List Comprehensions {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 7.3 Packing and Unpacking {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 7.4 Dictionaries {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 7.5 Equivalence vs. Identity {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 7.6 Conclusion