Why in line 18 I can't to add data of student | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why in line 18 I can't to add data of student

Give me AttributeError: 'Estudiante' object has no attribute 'append' Please tell me how to resolve this, since yesterday I'm on it 😵😵😵 https://code.sololearn.com/ckfkPOe9V3lE/?ref=app

19th Jul 2020, 8:32 PM
TiTo90
TiTo90 - avatar
2 Answers
+ 2
Thank you 👍👍🤣🤣🤣
19th Jul 2020, 10:21 PM
TiTo90
TiTo90 - avatar
+ 1
Estas tratando a Estudiante como si fuera una lista, y no lo es. Además, pedís los datos del estudiante para asignar a "nuevo_estudiante" y de nuevo dentro de "lee_y_añade_estudiante".
19th Jul 2020, 8:49 PM
Notyour Business