1.

Which of the following functions is a built-in function in python?(a) seed()(b) sqrt()(c) factorial()(d) print()This question was posed to me during an online interview.This key question is from Built-in Functions topic in division Dictionary, Functions and Built-in Functions of Python

Answer» RIGHT option is (d) print()

Explanation: The function seed is a function which is PRESENT in the random MODULE. The functions sqrt and factorial are a part of the MATH module. The print function is a built-in function which prints a value directly to the system output.


Discussion

No Comment Found

Related InterviewSolutions