Package creation

I have created the package math as shown in the video but the imports are no working for the package , also there should be a__pycache file generated automatically in the math folder as shown in the video but that is also not coming in my case

hey @ChiteshBansal ,
can you please share with your repository , like by uploading it on github or drive and sharing the link.

Its shouldn’t be like this.
Thank You :slightly_smiling_face:.

hey @ChiteshBansal ,
the reason is not in your code. Your code is absolutely fine.
The problem is that , you might already have a library named math in python modules , so when you are doing import math instead of calling your module it calls the default one. Hence , your __pycache__ file is not created.

Just change the name of your module from math to mathematics and then try , it will work.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.