Please enable JavaScript to use CodeHS

Nebraska Introduction to Computer Science and Technology

Programming in Python

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

Lessons

7.1 Printing in Python

  • Printing in Python
  • Printing in Python
  • Hello, world!
  • Printing Multiple Lines
  • Introduce Yourself
  • +1 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
  • +1 more

7.6 Booleans

  • Booleans
  • Booleans
  • Boolean Variables
  • Fix This Program
  • Plants

7.7 If Statements

  • If Statements
  • If Statements
  • Your First If Statement
  • If/Else Statement
  • Fix This Program
  • +2 more

7.8 Comparison Operators

  • Comparison Operators
  • Comparison Operators
  • Comparison Operators
  • High Jump
  • Roller Coaster
  • +3 more

7.9 Logical Operators

  • Logical Operators
  • Logical Operators
  • Logical Operators
  • Administrators, Teachers, and Students

7.10 Floating Point Numbers and Rounding

  • Floating Point Numbers and Rounding
  • Floating Point Numbers and Rounding
  • Rounding Error
  • Correct Portion

7.11 While Loops

  • While Loops
  • While Loops
  • Guess My Number
  • Program Tracing
  • Program Tracing, Part 2
  • +2 more

7.12 For Loops

  • For Loops
  • For Loops
  • Print 10 Numbers
  • 1 Through 10, Part 2
  • Counting 10 to 100 by Tens
  • +3 more

7.13 Functions

  • Functions
  • Functions
  • Abstracting Your Day
  • Greeting
  • Extended Greeting
  • +2 more

7.14 Programming in Python Quiz

  • Programming in Python Quiz