Skip to content

Commit 5b211b6

Browse files
ErnieWhiteBethanyG
ErnieWhite
authored andcommitted
changed ordinals from a set to a tuple
1 parent 2a3dda0 commit 5b211b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/practice/meetup/.meta/example.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def _choice(week):
1414
return lambda dates: next(date for date in dates if
1515
13 <= date.day <= 19)
1616

17-
ordinals = {'first', 'second', 'third', 'fourth', 'fifth', 'sixth'}
17+
ordinals = ('first', 'second', 'third', 'fourth', 'fifth', 'sixth')
1818
day = -1 if (week == 'last') else (ordinals.index(week))
1919

2020
def _func(dates):

0 commit comments

Comments
 (0)