Week 1 Solutions - Mansi Pandey#3
Open
mansipandey18 wants to merge 8 commits intosubhasmitasahoo:mainfrom
Open
Week 1 Solutions - Mansi Pandey#3mansipandey18 wants to merge 8 commits intosubhasmitasahoo:mainfrom
mansipandey18 wants to merge 8 commits intosubhasmitasahoo:mainfrom
Conversation
mansipandey18
commented
Dec 6, 2025
- I learned how to plot lines using Python and understand how slope (m) and intercept (b) shape a line.
- I understood that slope controls the tilt of the line and intercept moves the line up or down.
- I learned how to calculate predictions using the formula y = mx + b.
- I learned what error means in machine learning — the difference between actual value and predicted value.
- I also learned how to save Jupyter notebooks as .ipynb in VS Code.
Owner
subhasmitasahoo
left a comment
There was a problem hiding this comment.
Added some comments on code.
| "\n", | ||
| "1. Create a list of numbers from **1 to 7**.\n", | ||
| "2. Print each number multiplied by **10**.\n", | ||
| "3. Print only **odd** numbers.\n", |
| "\n", | ||
| "1. Create a list of **5 fruits**.\n", | ||
| "2. Print the **first** and **last** fruit.\n", | ||
| "3. Add a new fruit to the list.\n", |
| "def squareOfNum(n):\n", | ||
| " return n*n\n", | ||
| "\n", | ||
| "print(squareOfNum(8)) # 65" |
Owner
subhasmitasahoo
left a comment
There was a problem hiding this comment.
Can you save output of each excercise cell, so that its easy for me to review. I see errors for many cells output.
Owner
subhasmitasahoo
left a comment
There was a problem hiding this comment.
similarly save output for each cell in bonus challenge as well.
Author
|
What I Learned:
|
Author
|
✅ Completed the house price prediction exercise using linear regression! I learned how to:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.