Please enable JavaScript to use CodeHS

Idaho High School Computer Science

Basic Python and Console Interaction

In this module, students will learn the basics of programming by writing programs that interact with users through the keyboard. They will explore foundational computer science concepts including variables and comments. This module introduces students to Python, which they use for the remainder of the course.

Lessons

7.1 Printing in Python

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

7.2 Variables and Types

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

7.3 User Input

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

7.4 Mathematical Operators

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

7.5 String Operators

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

7.6 Comments

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

7.7 Programming Languages

  • Programming Languages
  • Dynamically Typed Languages
  • Statically Typed Languages
  • Dynamically Typed vs. Statically Typed Languages
  • Compiled Languages
  • +4 more

7.8 Basic Python and Console Interaction Quiz

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

Courses that include this module