Search for tag: "floats"

Lesson 23.1 The Principle of Abstraction

In this video we introduce the principle of abstraction, which is simply hiding unnecessary details about a class from the user of a class. However, there are many different ways to do that, which is…

+19 More
From  Hannah Lee 89 plays

Lesson 1.7 Mixed Expressions

For the most part, operations are used to combine two expressions of the same type. Adding together two ints is different from adding together two strings. In this video we see what happens when we…

+19 More
From  Hannah Lee 178 plays

Lesson 1.4 Boolean Expressions

The third basic type is the bool type. It only has two values: True and False. However, as we shall soon see, this type is one of the most important for computer programming.

+19 More
From  Hannah Lee 200 plays

Lesson 1.3. Float Expressions

Integers are not the only number type in Python. There is also the float type, which is the set of real numbers. Floats can do just about everything that integers So why then does Python need a…

+19 More
From  Hannah Lee 174 plays

Lesson 1.2 Int Expressions

The most familiar type in Python is int, the set of integers. It supports all of the basic mathematical expressions that you expect, like addition, subtraction, multiplication, and division. However,…

+19 More
From  Hannah Lee 198 plays