Home
Topics in CS
Intro to CS
Cybersecurity
Cloud Computing
Languages
Python
HTML/CSS
Math for CS
Algebra
Introduction to Python Programming
Comments and Strings
Comments in Python
The print() Function
Multiline Strings
Introduction to Variables
Variables for Strings
Numbers As Variables
Naming Variables
Math Expressions
Math Expressions from Familiar Operators
Unfamiliar Math Operators
Operator Precedence
Combining Strings, Variables, and Numbers
Concatenating Text Strings
Introduction to f-strings
f-strings or Concatenation
User Input, Data Types and String Manipulation
The input() Function
User Input and Data Type Conversions
Unlocking Exponents and the Modulo Operator
Review: Data Types and User Input Conversions
Conditional Logic
Mastering Comparison Operators
If Statement
Else and Elif Statements
Nesting If, Elif and Else Statements
Mastering Conditional Logic
Using Logical Operators Over Nested if Statements