If Statements

Loading...
From the course by University of Toronto
Learn to Program: The Fundamentals
1841 ratings
University of Toronto
1841 ratings
From the lesson
Booleans, Import, Namespaces, and if Statements
This module introduces Booleans (logical values True and False), how to convert between types, how to use Boolean expressions in if statements to selectively run code, and the concept of a Python module.

Meet the Instructors

  • Jennifer Campbell
    Jennifer Campbell
    Associate Professor, Teaching Stream
    Department of Computer Science
  • Paul Gries
    Paul Gries
    Associate Professor, Teaching Stream
    Department of Computer Science

Explore our Catalog

Join for free and get personalized recommendations, updates and offers.