1.

What is the return value of trunc()?(a) int(b) bool(c) float(d) NoneThis question was posed to me in examination.My query is from Core Data types in portion Variable Names, Operators, Data Types & Numeric Types of Python

Answer» CORRECT choice is (a) int

For EXPLANATION: EXECUTE help(math.trunc) to get DETAILS.


Discussion

No Comment Found

Related InterviewSolutions