Skip to content

Lesson-1 Chapter-8Β #30

@himanshu007-creator

Description

@himanshu007-creator

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions