How to do Trig with Python

math-image

Python can be used to complete trigonometric calculations. You can calculate sine, cosine, and tangent as well as use other trig functions using Python's math module, which is part of the Python Standard Library and comes included with all Python installations. (This post is adapted from my book Problem Solving …

more ...

How to do Math with Python

math-image

Python can be used like a calculator to do math. Operations like addition, subtraction, multiplication, and division can be done with Python. In this post, you'll learn how to do math with Python.

Arithmetic

Python can be used as a calculator to make arithmetic calculations.

Try the following commands in …

more ...