1. Home
  2. Data Science
  3. Python
  4. What is the result of round(3.75) in Python?

Added 4 May 2024

What is the result of round(3.75) in Python?

  1. 4.0 Correct answer
  2. 3.75
  3. 3
  4. Error

Correct answer

A. 4.0

13 views

MCQSEXAM

Explanation

The round() function rounds a number to the nearest integer, so round(3.75) equals 4.

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