Skip to content

Conversation

@hanalways
Copy link

No description provided.

@hanalways hanalways changed the title finished project, not optional Sockets - Hana Mar 4, 2019
# CS Fun
# Array Equals

def array_equals(int_array1, int_array2)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice choice in naming them int_array. This clearly expresses what is being tested.

end
end

# if it passes all checks

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work! Very clear code. One case to consider (but it's totally optional) is guarding against incorrect input within the arrays. What would happen if you passed in int_array1 = ["1"] for example?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants