Scalar Types

Scalar Types#

Learning objectives#

After working through this topic, you should be able to:

  • List several built-in scalar types in Python

  • Use the type() function to get the type of a variable

  • Explain which types are used to represent different mathematical concepts

  • Convert variables between different types

Materials#

Video with English subtitles:

Download the slides.

Video with German subtitles:

(turn subtitles on in the bottom right corner of the video)