Examveda
Examveda

What is the result of int(3.9) ?

A. 3

B. 3.9

C. 4

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