Sign inSign in
ConceptSystems & CS

Type casting

Converting an object from one data type to another, such as a Fraction to a float using __float__.
as Ana Bell defines itMITThe wording closest to all 4 definitions
Watch it explained

Know first

Named as a prerequisite by the lectures that define this. The number is how many say so. A grey one has no page yet.

Data types4Arithmetic operators1Dunder methods1Type errors1Variable1

Opens up

Concepts that name this one as a prerequisite.

Lecturers

2

Each in their own terms, from the easiest level.

  • Ana Bell

    MIT · Introductory

    • 34:11Strings, Input/Output, and Branching in Python
  • David J. Malan

    Harvard University · Introductory

    Explicitly converting a value from one data type to another, such as converting an integer to a float.

Lectures that assume it

2

Connections

11

The lectures that define it or assume it, and the concepts next to it.

2 lecturers. Definitions are written by AI from each lecture’s transcript. A time with a play mark starts the lecture at the moment the lecturer says it.