Skip to content

Day 3: Typo in comment: incorrect value description for variable b in arithmetic operations example #850

@chiaatw

Description

@chiaatw

Line: 105

Current comment:
b = 2 # b is a variable name and 3 is an integer data type

Expected comment:
b = 2 # b is a variable name and 2 is an integer data type

The comment describing variable b incorrectly states the value is 3 when it was copy-pasted from the line above (where a = 3). The actual assigned value is 2.

Since this is a beginner-focused course, accurate inline comments are important for learners who rely on them to understand the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions