Merge pull request #610 from DenishKakadiya/patch-1

Update 15_python_type_errors.md
This commit is contained in:
Asabeneh 2026-01-11 00:14:22 +02:00 committed by GitHub
commit 41d01fd741
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)
[<< Day 14](../14_Day_Higher_order_functions/14_higher_order_functions.md) | [Day 16 >>](../16_Day_Python_date_time/16_python_datetime.md)