Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sockets - Hana #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Sockets - Hana #47

wants to merge 1 commit into from

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