Please enable JavaScript to use CodeHS

South Carolina Advanced Cybersecurity

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

13.1 The Language of Computers

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

13.2 Printing in Python

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

13.3 Variables and Types

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

13.4 User Input

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

13.5 Mathematical Operators

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

13.6 String Operators

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

13.7 Comments

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

13.8 Programming Languages

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

13.9 Basic Python and Console Interaction Quiz

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

Courses that include this module