Numbers and Math - Python for Absolute Beginners course

Published: 24 March 2022
on channel: 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


Watch video Numbers and Math - Python for Absolute Beginners course online without registration, duration hours minute second in high quality. This video was added by user Programming With Nick 24 March 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 681 once and liked it 24 people.