Book Image

Python for Finance

By : Yuxing Yan
Book Image

Python for Finance

By: Yuxing Yan

Overview of this book

Table of Contents (20 chapters)
Python for Finance
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Exercises


1. Use a few sentences to describe the Python software.

2. What are the advantages and disadvantages of using Python as our computational tool?

3. Where can we download and install Python?

4. Is Python case sensitive? What is the basic rule to define various variables (names)?

5. Can we use a variable without defining it first?

6. Is it possible that we use a variable before we assign a value to it?

7. Is the version of Python important at this stage? Is the version of Python important later in the book?

8. In how many ways can we launch Python?

9. Where can we find videos on how to install Python?

10. What is the URL for Python's homepage?

11. Estimate the area of a circle if the diameter is 10 using Python.

12. How do you assign a value to a new variable?

13. How can you find some sample examples related to Python?

14. How do you launch Python's help function?

15. Where is the location of Python on your PC (Mac)? How do we find the path?

16. What is the difference between defining a variable and assigning a value to it?