Builtins Worksheet
Builtins Worksheet
1. Built-in Functions
Without running the code, complete the table below by filling in the values that the expressions produce, as well
as the types of those values.
abs(-5.2)
5.2 float
pow(2, 3)
power of 8 int
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:
round(number, ndigits=None)
Round a number to a given precision in decimal digits.
Question Answer
What is the minimum number of arguments function round can take? round(x)
1
What is the maximum number of arguments function round can take? round(x,y)
2