You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in Lesson-1 Chapter-8. aim is to provide logic to createZombie function.
Exercise expects this answer:- zombies.push(Zombie(_name, _dna));
but an alternate approach could be:-
Zombie z1 = Zombie(_name,_dna); zombies.push(z1);
instead of expecting exact solution, it should accept this approach as well, later on student will self realize the fact of doing the same thing in one line.
The text was updated successfully, but these errors were encountered:
in Lesson-1 Chapter-8. aim is to provide logic to
createZombie
function.Exercise expects this answer:-
zombies.push(Zombie(_name, _dna));
but an alternate approach could be:-
Zombie z1 = Zombie(_name,_dna);
zombies.push(z1);
instead of expecting exact solution, it should accept this approach as well, later on student will self realize the fact of doing the same thing in one line.
The text was updated successfully, but these errors were encountered: