![]() | ![]() |
Example
Start IDLE.
Navigate to the File menu and click New Window.
Type the following:
from math import*
print("The PI value is-", pi)
Discussion
In this context, we are importing all definitions from a particular module but it is encouraged norm as it can lead to unseen duplicates.