Python Numbers: Integers, Floats, and Arithmetic Operations [Python Tutorial for Beginners]
Afternerd Afternerd
21.5K subscribers
2,643 views
0

 Published On Mar 10, 2021

In this video, I am going to continue talking about data types. Specifically, I cover Python numbers (integers and floats), as well as the arithmetic operations you can perform on these data types in Python 3.

So what will you learn in this video?

First, you will learn about integers (int) and floating-point numbers (float), and why we have various numerical data types to start with.

Second, you will learn about the arithmetic operations that you can perform on integers and floats (addition, multiplication, subtraction, and division). More importantly, I will talk in-depth about the type of the result of arithmetic operations, which in some cases, are more important than the result itself.

Third, I will extensively cover the difference between float and integer division in Python 3.

Finally, I will conclude by giving an example of some unpredictable bugs that could happen when you are working with floating-point numbers.

Overall, this video is a good foundational video for understanding how to work with numerical data in Python 3.

Google "afternerd learn Python" to check my massive guide for learning Python.

Resources:
📝 Python Cheatsheet: https://www.afternerd.com/blog/get-py...
🖥️ Computer Science guide: https://www.afternerd.com/blog/learn-...
🐍 Python roadmap guide: https://www.afternerd.com/blog/learn-...

Courses:
📚 Python OOP: https://www.afternerd.com/udemy/pytho...

Where you can find me:
ℹ️ Website: https://www.afternerd.com/​
📸 Instagram:   / the_kreamix​  
🐦 Twitter:   / afternerdtweets  

#python #pythonforbeginners #pythontutorial #afternerd

show more

Share/Embed