EN / USD
1 Items
 Home
Blog
Floating-Point and Integer Numbers in Python
Floating-Point in python, Integer Numbers in python, data types in python, python data types, mathematical expression python, python mathematical operations, math operations in python
Welcome to chapter 6 of our python course. Previously, we introduced integers and saw how they may be combined with strings and stored in variables. Today, we'll take a closer look at the python number types and how they're stored in variables to see what actions are possible. What you'll learn in this tutorial is how to: Add, subtract, multiply, and divide numbers. Work with modular. Use exponents. Use expressions. Use a predetermined number of decimal places to round numbers Use strings to format and show numeric data. With this in mind, let`s start. How are integers created? Integers can be created by simply inputting a number. For example, the tutorial variable is assigned the integer 6 in the following way: >>>Tutori ...