Please enable JavaScript to use CodeHS

Florida Discovering Computer Science

Programming in Python

In this module, students are introduced to the fundamentals of programming by learning how to write basic code in Python using print statements, variables, user input, and arithmetic expressions. They’ll explore data types, string operations, comments, and the role of programming languages in creating interactive programs.

Lessons

4.1 The Language of Computers

  • How Do You Talk to a Computer?
  • Types of Programming Languages
  • Programming Language Hierarchy
  • Variables
  • Creating Variables
  • +3 more

4.2 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
  • +3 more

4.3 Printing in Python

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

4.4 Variables and Types

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

4.5 User Input

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

4.6 Mathematical Operators

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

4.7 Errors and Debugging

  • Errors and Debugging
  • Syntax Error Practice
  • Runtime Error Practice
  • Logical Error Practice

4.8 String Operators

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

4.9 Comments

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

4.10 Programming Languages

  • Programming and Cybersecurity
  • Programming Languages
  • Dynamically Typed Languages
  • Statically Typed Languages
  • Dynamically Typed vs. Statically Typed Languages
  • +4 more

4.11 Basic Python and Console Interaction Quiz

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

Courses that include this module