Q. What is the output of int(3.7)?

A
3
B
4
C
3.7
D
Error
Solution:

int(3.7) truncates to 3, discarding the decimal part.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!