Chapter 5: Problem 32
Look at the following function definition: def do_something(number): return number * 2 a. What is the name of the function? b. What does the function do? c. Given the function definition, what will the following statement display? print(do_something(10))
Short Answer
Expert verified
```python
def do_something(number):
return number * 2
```
Answer: The output of the statement will be 20.