I get an error when I tried same code in the lecture concerning assigning instances to a class.
Images of the code and error are attached in the links below:-
Thanks for your effort.
thanks for reaching out! The problem seems due to the fact you’ve written ‘Init’ with a capitol ‘I’.
Try the following instead:
def __init__(self, name, age):