2. Built-in Function: help The built-in function help can be used to provide inf
ID: 3746539 • Letter: 2
Question
2. Built-in Function: help The built-in function help can be used to provide information about other functions. Answer the following ques- tions, using the output of help(round) below: Help on built-in function round in module builtins: round(...) round (number [, ndigits]) -> number Round a number to a given precision in decimal digits (default 0 digits) This returns an int when called with one argument, otherwise the same type as the number. ndigits may be negative. Question Answer What are the types function round can return? What is the minimum number of arguments function round can take? What is the maximum number of arguments function round can take?Explanation / Answer
Answer)
1. The types round() fuction can return - decimal
2. Minimum number of arguments round() can take is 2. Those arguments are actual number and decimal_places
3. Maximum number of arguments round() can take is 3. Those are actual_number, decimal_places and operation(optional).
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.