Python 3.4 - Math Module

Math module contains many math functions for simple numbers. If you want to work with complex number you need the cmath module.

You can import the math module as normal, but you'll have to write math.whatever each time. TO make this simpler you can do (from math import *) and this will allow you to avoid writing math each time. But makes sure you don't write math anymore!

https://docs.python.org/3/library/math.html

https://www.youtube.com/watch?v=RquKAhdGajw

Comments

Popular posts from this blog

Python 3.4 - Caesar Cipher

UML - Use Case Diagram