You are here:Home-Tag: numbers

1.2.1 Numbers: Extra Calculation Properties

While a division operation you have two types of data, float and integer. Python returns float an integer division like 4/2=2.0 and not directly 2. This is a new property included with python3. If you want your result from division returns an integer, use double slash //. Check the example. [crayon-5e7fadbbab35f676717043/] To have remainder

By |2018-12-23T01:10:53+01:00December 22nd, 2018|Categories: Other|Tags: , , |0 Comments

1.2 Numbers

In this section you will find following topics: Float and integer data structures Basic mathematic operations Define variables int (signed integers) − They are often called just integers or ints, are positive or negative whole numbers with no decimal point. Ex: -1000 20 41 2 float (floating point real values) − Also called floats, they represent

By |2019-03-03T19:54:46+01:00December 19th, 2018|Categories: Python|Tags: , , |0 Comments