Please enable JavaScript to use CodeHS

Intro to Computer Science in Python 3

Basic Python and Console Interaction

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

Lessons

3.1 Printing in Python

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

3.2 Variables and Types

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

3.3 User Input

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

3.4 Mathematical Operators

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

3.5 String Operators

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

3.6 Comments

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

3.7 Basic Python and Console Interaction Quiz

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

Courses that include this module