Numbers and Math - Python for Absolute Beginners course

preview_player
Показать описание
In this video, we are going to learn about the basic number types the “int” and the “float” and how to do math with them.

Let’s create a new project and name it “Numbers & Math”.

In the previous video, we created a variable named weight and we assigned the value 80 to it, which is my weight. The number 80 is a number without decimal values, it is a whole number. That’s an Integer type in Python or for short we call it “Int”. That’s the first type of number we can use in Python. So when we type the command:

weight = 80
we tell the computer

“Create a container in the memory to store the Integer Number 80 and give the container the label weight.”

0:00 Introduction
0:11 Types of Numbers
0:31 INTEGER or INT
0:47 weight = 80
1:10 Math in Python
2:32 FLOAT
3:08 pi = 3.14
3:56 CIRCUMFERENCE OF A CIRCLE
4:42 Practice your skills
Рекомендации по теме
Комментарии
Автор

It will help you memorize all the stuff we discuss in this lesson.

programmingwithnick
join shbcf.ru