Please enable JavaScript to use CodeHS

Indiana Computing Foundations for a Digital Age

Python Fundamentals

Students learn the basics of programming by writing programs that interact with users through the keyboard.

Lessons

5.1 How to Think Like a Programmer

  • How to Think Like a Programmer
  • Problem Decomposition #1 - Meal Planning
  • Problem Decomposition #2 - Hobbies
  • Algorithms
  • Algorithm #1 - PB&J
  • +1 more

5.2 Printing in Python

  • Printing in Python
  • Printing in Python
  • Hello, world!
  • Printing Multiple Lines
  • Introduce Yourself
  • +2 more

5.3 Variables and Types

  • Variables and Types
  • Variables and Types
  • Variables in Action
  • Variable Types
  • Variable Naming
  • +3 more

5.4 User Input

  • User Input
  • User Input
  • Basic User Input
  • Type Conversion
  • Type Conversion, Part 2
  • +2 more

5.5 Mathematical Operators

  • Mathematical Operators
  • Mathematical Operators
  • Operators and Integers
  • Operator Precedence
  • Add Parentheses
  • +3 more

5.6 String Operators

  • String Operators
  • String Operators
  • Operators and Strings
  • Fix This Program
  • Team Sizes
  • +4 more

5.7 Comments

  • Comments
  • Comments
  • Commented Program
  • Trapezoid
  • Add Comments!

5.8 Functions

  • Functions
  • Functions
  • Greeting
  • Extended Greeting
  • Weather

5.9 Functions and Parameters

  • Functions and Parameters
  • Functions and Parameters
  • Print a Value
  • Name and Age
  • Print Product
  • +3 more

5.10 Functions and Return Values

  • Functions and Return Values
  • Functions and Return Values
  • Return 10
  • Add One
  • Negate
  • +6 more

5.11 Indexing and Slicing

  • Indexing
  • Indexing
  • Characters in a String
  • Initials
  • Slicing
  • +3 more

5.12 Basic Collection Types

  • Tuples
  • Tuples
  • A Tuple Is a Sequence
  • A Tuple is Heterogeneous
  • Fix This Tuple
  • +5 more

5.13 Comparing Algorithms

  • Big O and Algorithm Complexity
  • Big O Notation
  • Big O and Algorithm Complexity Reflection
  • Algorithm Comparison
  • Algorithm Comparison Response

5.14 Artificial Intelligence

  • Human & Artificial Intelligence
  • Human & Artificial Intelligence Reflection
  • AI Systems vs Traditional Coding
  • Explore Traditional Coding vs AI Systems
  • Traditional Coding vs AI Systems Reflection

5.15 Basic Python and Console Interaction Quiz

  • Basic Python and Console Interaction Quiz
  • Basic Python and Console Interaction Badge