-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Open
Description
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
Labels
No labels