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

Clarify instruction for modifying y in Active Learning: Sizing a Canvas Box #38780

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

Conversation

Ayushjsgithub
Copy link

Description:

Updated the instruction to explicitly mention assigning y a default value before using the addition assignment (+=) operator.
Prevents confusion by ensuring learners don’t assume everything must happen in one line.
Keeps the challenge intact while improving clarity.

Motivation:

The original instruction lacked clarity, leading learners to assume the modification should be done in a single line.
By explicitly stating the need to assign y a default value first, this change improves the accuracy and readability of the task.

Additional Details:

This change is in response to confusion noted by users in the community. Many are referencing this discussion thread, where contributor mikoMK (Michael) explained the issue, emphasizing the importance of understanding assignment operators and how they work. He pointed out that the instructions lacked clarity on the proper assignment of y, which led to confusion in solving the task.

- Updated the instruction to explicitly mention assigning `y` a default value before using the addition assignment (`+=`) operator.
- Prevents confusion by ensuring users don’t assume everything must happen in one line.
- Keeps the challenge intact while improving clarity.
@Ayushjsgithub Ayushjsgithub requested a review from a team as a code owner March 24, 2025 15:21
@Ayushjsgithub Ayushjsgithub requested review from hamishwillee and removed request for a team March 24, 2025 15:21
@github-actions github-actions bot added Content:Learn Learning area docs size/xs [PR only] 0-5 LoC changed labels Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:Learn Learning area docs size/xs [PR only] 0-5 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant