Built in function word "type" reassigned in lesson 38
intelagense opened this issue · 1 comments
intelagense commented
Description
The attribute name "type" is used in the Pokemon
class. However, "type" is a built-in function in Python, and reusing it as an attribute name might lead to confusion and potential issues.
Proposed Solution:
Rename the attribute "type" to something like "pokemon_type" to avoid conflicts with the built-in type
function.
Code Reference:
sonnynomnom commented
Fixed and closing!