Skip to content

in the type checks the "set" comment said "tuple" but its actually a …#830

Open
Ahsan-Burki2126 wants to merge 1 commit intoAsabeneh:masterfrom
Ahsan-Burki2126:patch-1
Open

in the type checks the "set" comment said "tuple" but its actually a …#830
Ahsan-Burki2126 wants to merge 1 commit intoAsabeneh:masterfrom
Ahsan-Burki2126:patch-1

Conversation

@Ahsan-Burki2126
Copy link
Copy Markdown

…set not a tuple.

Copilot AI review requested due to automatic review settings May 6, 2026 19:21
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR corrects a misleading inline comment in the Day 1 introduction example so that the {...} literal is identified as a set rather than a tuple.

Changes:

  • Updated the type-check example comment for a set literal ({9.8, 3.14, 2.7}).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

print(type([1, 2, 3])) # List
print(type({'name': 'Asabeneh'})) # Dictionary
print(type({9.8, 3.14, 2.7})) # Tuple
print(type({9.8, 3.14, 2.7})) # set
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