Python - Constructors and Object Initialization
Why does this code cause an error?
class Animal:
def __init__(self, species):
species = species
a = Animal('Cat')
print(a.species)