Please enable JavaScript to use CodeHS

Nebraska Introduction to Computer Science and Technology: Coding First

Programming in Python

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

Lessons

9.1 Printing in Python

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

9.2 Variables and Types

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

9.3 User Input

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

9.4 Mathematical Operators

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

9.5 String Operators

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

9.6 Booleans

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

9.7 If Statements

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

9.8 Comparison Operators

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

9.9 Logical Operators

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

9.10 Floating Point Numbers and Rounding

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

9.11 While Loops

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

9.12 For Loops

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

9.13 Functions

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

9.14 Programming in Python Quiz

  • Programming in Python Quiz