diff --git a/15_Day_Python_type_errors/15_python_type_errors.md b/15_Day_Python_type_errors/15_python_type_errors.md index 16c3e7136..0513689a4 100644 --- a/15_Day_Python_type_errors/15_python_type_errors.md +++ b/15_Day_Python_type_errors/15_python_type_errors.md @@ -183,7 +183,7 @@ AttributeError: module 'math' has no attribute 'PI' >>> ``` -As you can see, I made a mistake again! Instead of pi, I tried to call a PI function from maths module. It raised an attribute error, it means, that the function does not exist in the module. Lets fix it by changing from PI to pi. +As you can see, I made a mistake again! Instead of pi, I tried to call a PI constant from maths module. It raised an attribute error, it means, that the attribute does not exist in the module. Lets fix it by changing from PI to pi. ```py asabeneh@Asabeneh:~$ python @@ -358,4 +358,4 @@ If you are good at reading the error types then you will be able to fix your bug 🎉 CONGRATULATIONS ! 🎉 -[<< Day 14](../14_Day_Higher_order_functions/14_higher_order_functions.md) | [Day 16 >>](../16_Day_Python_date_time/16_python_datetime.md) \ No newline at end of file +[<< Day 14](../14_Day_Higher_order_functions/14_higher_order_functions.md) | [Day 16 >>](../16_Day_Python_date_time/16_python_datetime.md)