Learn how to code with python: Lesson 3 - Working with numbers

Working with Numbers in Python
Working with Numbers in Python!
Below is lesson number 3 in the series: Learn how to code with Python. In  this lesson I explain the basic things you need to know to start working productively with numbers in Python.

In the video I talk about the different types of numbers:

  • Integers, or int in Python
  • Floating point number, or float in Python

You can use the python type() function to see the type a number holds.

For example:

>>> type(1)
<class 'int'>
>>> type(1.0)
<class 'float'>

If you have any questions after watching the video, then please leave me a comment below.