- Learn Python in 7 Days
- Mohit Bhaskar N. Das
- 53字
- 2025-04-04 19:20:06
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:
