Python) Number

강현상
Jun 28, 2021

--

There are two different types in number, which are integer, and floating-point

Integer: Using the whole number

Floating-point: Using the decimal number

You could declare numbers to alphabets and could calculate in python like:

adding numbers example

Different mathematical expressions into python

^ = **

To find remainder = % Ex) 7 % 3 = 1

To find cocient = // Ex) 7 // 3 = 2

--

--