What will be the result of 4.2 * 3 in Python?
-
A
12.6
Correct answer
-
B
12
-
C
13
-
D
1.4
13 views
Explanation
Multiplying a float by an integer results in a float, so 4.2 * 3 equals 12.6.
Doubts & discussion
Not sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ