Python for Beginners Tutorial 2: Integers and Floats - Working with Numeric Data Types
Python includes three numeric types to represent numbers: integers, float, and complex number.
there is effectively no limit to how long an integer value can be. Of course, it is constrained by the amount of memory your system has, as are all things, but beyond that an integer can be as long as you need it to be.
The float type in Python designates a floating-point number. float values are specified with a decimal point. Optionally, the character e or E followed by a positive or negative integer may be appended to specify scientific notation.
Here is a list of the common Mathematical operations:
Addition +
Subtraction –
Multiplication *
Exponential Multiplication **
Division /
Modulo % #This will return the remainder, e.g. 2%7 will yield 1.
Floor // #This will return the max number of times two numbers can be divided into each other, e.g. 2//7 will yield 3.
Comparison Operators (equal to, less than, etc.). Here is a list of those:
Equal to (==),
Greater than,
Less than,
Less than or equal to,
Greater than or equal to,
Not equal to (!=)
On this page of the site you can watch the video online Python for Beginners Tutorial 2: Integers and Floats - Working with Numeric Data Types | Hindi with a duration of hours minute second in good quality, which was uploaded by the user Programmer Banda 06 April 2022, share the link with friends and acquaintances, this video has already been watched 19 times on youtube and it was liked by 1 viewers. Enjoy your viewing!