#### Overview of this book

Python for Finance
Credits
Acknowledgments
www.PacktPub.com
Preface
Free Chapter
Introduction and Installation of Python
13 Lines of Python to Price a Call Option
Introduction to Modules
Statistical Analysis of Time Series
Index

## Exercises

1. What is the difference between showing the existence of our variables and showing their values?

2. How can you find out more information about a specific function, such as `print()`?

3. What is the definition of built-in functions?

4. What is a tuple?

5. How do we generate a one-item tuple? What is wrong with the following way to generate a one-item tuple?

```>>>abc=("John")
```

6. Can we change the values of a tuple?

7. Is `pow()` a built-in function? How do we use it?

8. How do we find all built-in functions? How many built-in functions are present?

9. When we estimate the square root of three, which Python function should we use?

10. Assume that the present value of a perpetuity is \$124 and the annual cash flow is \$50; what is the corresponding discount rate?

11. Based on the solution of the previous question, what is the quarterly rate?

12. The growing perpetuity is defined as: the future cash flow is increased at a constant growth rate forever. We have the following formula:

Here PV...