Examveda

What is the result of int(3.999) ?

A. 3

B. 4

C. 3.999

D. 4.0

Answer: Option A

Solution (By Examveda Team)

The int() function converts a floating-point number to an integer by truncating the decimal part.

This Question Belongs to Python Program >> Data Types And Numeric Types

Join The Discussion

Related Questions on Data Types and Numeric Types