Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Core Python: Numeric Types, Dates, and Times

via Pluralsight

Overview

Python includes a powerful collection of numeric types beyond the basic int and float. In this course you'll learn about these types, the shortcomings they address in the basic numeric types, and how and when to deploy them in your Python programs.

Python’s basic numeric types, int and float, are generally intuitive and are often sufficient for most programming tasks. There are some calculations, however, for which these types aren’t the right tool, and numeric types with different qualities are called for. In this course, Core Python 3: Numeric Types, Dates, and Times, you’ll take a look at some of the other numeric types that Python provides. First, you’ll look at the Decimal, Fraction, and complex types, and you'll discover when they should be used and how to use them. Next you’ll review some functions that can be used with many or all numeric types. Then you’ll see how to work with dates and times using Python’s datetime package. Finally, you’ll learn about a practical example where using the right numeric type makes a big difference. When you’re finished with this course, you’ll have a better understanding of how to apply Python’s standard numeric types and perhaps a deeper appreciation for numerical programming in general.

Syllabus

  • Course Overview 1min
  • Review of int and float 5mins
  • The Decimal Module 9mins
  • The Fractions Module 4mins
  • Complex Numbers 5mins
  • Built-in Functions Relating to Numbers 5mins
  • Dates and Times with the Datetime Module 13mins
  • Computational Geometry 11mins

Taught by

Austin Bingham

Reviews

4.5 rating at Pluralsight based on 55 ratings

Start your review of Core Python: Numeric Types, Dates, and Times

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.