- Learn Python in 7 Days
- Mohit Bhaskar N. Das
- 53字
- 2021-07-09 20:40:25
Mixed mode arithmetic
The arithmetic operation involving both integer and floating point numbers is called mixed mode arithmetic. When each operand is of a different data type, the resulting value is of the more general type, and float is the more general type.
The following screenshot will make it clearer for you:
