Ok thanks first of all for telling me some rules and I am sorry for the screenshot I will explain my problem.
All i do right now is learning and posting my questions if i dont find any answer myself.
Now here is the Fibonacci-Generator:
def fib(max):
a, b = 0, 1
while a < max:
yield a
a, b = b, a + b
Now my problem is that i see no solution for my question, in what kind of data i need to put it in.
(sorry for my bad english)
My problem:
from fibonacci import fib
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
from fibonacci import fib
ModuleNotFoundError: No module named 'fibonacci'
So i understand that i have no module named fibonacci but is there some kind of import? I dont really get it.