This Question has been **Answered**

Featured Replies

- 1
I prefer to know where functions came from, so I would use the namespace alternative ... [code=python]import math y = math.sin(1) + math.cos(1) [/code]If you use ... [code=python]from math import sin, cos y = sin(1) + cos(1) [/code]... in the hope that only sin and cos are imported, you are … Read More

This question has already been answered. Start a new discussion instead.

Recommended Topics