Why is import not working

So I created a Basic.py file then I did import Basic and when I tried to use a class form Basic.py it gave me an undefined error.

This documentation is related to your question
https://docs.python.org/3/tutorial/modules.html
As well as this discussion: