Skip to content

Assignment 2#2

Open
mariatocora wants to merge 3 commits intomainfrom
assignment-2
Open

Assignment 2#2
mariatocora wants to merge 3 commits intomainfrom
assignment-2

Conversation

@mariatocora
Copy link
Copy Markdown
Owner

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)

I changed the file Assignment_2.ipynb adding the requested code for each section.

What did you learn from the changes you have made?

I learnt to: 1. Read and display data, 2. How to use data summarization functions, and 3. How to develop a function by calling other functions.

Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?

I explored the behaviour of both the readline() and readlines() methods to read data, while working on section 1.

Were there any challenges? If so, what issue(s) did you face? How did you overcome it?

For section 3, I spent time checking the behavior of the function "check_zeros" to implement it in developing another function.

How were these changes tested?

I ran the functions multiple times and checked their behaviors independently.

A reference to a related issue in your repository (if applicable)

NA

Checklist

  • I can confirm that my changes are working as intended

Copy link
Copy Markdown

@juliagallucci juliagallucci left a comment

Choose a reason for hiding this comment

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

Good. One note, no need to specify if check_zeros(x) == 0:
return False
else:
return True , as the check_zero already returns a boolean value

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.

2 participants