Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math
- # Uso función seno:
- print(math.sin(90))
- # Importación de módulo math con el alias m:
- import math as m
- print(m.cos(90))
- # Importación parcial de un módulo:
- from math import sin, pi
- print(sin(pi/2))
- # importar todo de un módulo:
- from math import *
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement