Numbers and Math - Python for Absolute Beginners course

Опубликовано: 24 Март 2022
на канале: Programming With Nick
681
24

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


Смотрите видео Numbers and Math - Python for Absolute Beginners course онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Programming With Nick 24 Март 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 681 раз и оно понравилось 24 людям.