Skip to content

Day 1 Helloworld.py error #758

@lgmarquezjr

Description

@lgmarquezjr

Day 1 Helloworld.py line 25

print(type({9.8, 3.14, 2.7})) returns <class 'set'>

For it to be type tuple, it seems it needs to be parentheses instead of curly brackets

so

print(type((9.8, 3.14, 2.7))) returns <class 'tuple'>

consider having each of these as example to highlight syntax difference.

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