Python module 3 [packages]

I m not able to import math package to my main.py program

PS C:\Users\91798\Desktop\Data Science Master\Python\modules> python main.py
Traceback (most recent call last):
File “main.py”, line 3, in
print(math.a)
AttributeError: module ‘math’ has no attribute ‘a’

hey @saini.harsh22 ,
The math module is imported correctly to the file, but this module doesn’t have any attribute a , to which you have made call in the code.

I guess you were trying to use something else.
Kindly correct that once.

I hope this helps
Thank You :slightly_smiling_face:.

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.