✏️ Explanatory Question

What will be the value and its type for the given expression: 3.25 +4?

👁 242 Views
📘 Detailed Answer
242
Total Views
10
Related Qs
0%
Progress
💡

Answer with Explanation

>>> result = 3.25 +4

>>> print (result, 'is', type (result)) 7.25 is

Its type is a float as integers are automatically converted into floats as necessary.