1. Home
  2. Data Science
  3. Python
  4. What will be the result of 4.2 * 3 in Python?

Added 4 May 2024

What will be the result of 4.2 * 3 in Python?

  1. 12.6 Correct answer
  2. 12
  3. 13
  4. 1.4

Correct answer

A. 12.6

13 views

MCQSEXAM

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

Shown after review. No links please.

More Python MCQs

Practise all Python MCQs

Similar MCQs