Hello All. Trying to load a module into python 3, it keeps giving me error:
__
>>> import chaos
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
import chaos
ModuleNotFoundError: No module named 'chaos'
__
I'm using a Mac and not sure if I'm saving it in the incorrect location?
Module contains:
def main():
print("This is an illustration of a chaotic fucntion")
x = eval(input("enter a number between 0 and 1: "))
for i in range(10):
x = 3.9 * x * (1-x)
print(x)
main()
Any help here much appreciated
__
>>> import chaos
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
import chaos
ModuleNotFoundError: No module named 'chaos'
__
I'm using a Mac and not sure if I'm saving it in the incorrect location?
Module contains:
def main():
print("This is an illustration of a chaotic fucntion")
x = eval(input("enter a number between 0 and 1: "))
for i in range(10):
x = 3.9 * x * (1-x)
print(x)
main()
Any help here much appreciated